llvm-6502/test/CodeGen/Generic/div-neg-power-2.ll
2005-08-09 18:07:45 +00:00

7 lines
84 B
LLVM

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