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

7 lines
99 B
LLVM

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