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

7 lines
99 B
LLVM
Raw Normal View History

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