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