llvm-project/llvm/test/Regression/CodeGen/Generic/div-neg-power-2.ll

7 lines
84 B
LLVM

; RUN: llvm-as < %s | llc
int %test(int %X) {
%Y = div int %X, -2
ret int %Y
}