llvm-6502/test/CodeGen/Generic/div-neg-power-2.ll
2006-12-02 04:23:10 +00:00

7 lines
99 B
LLVM

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