llvm-6502/test/CodeGen/SystemZ/02-RetNeg.ll
2009-09-09 00:09:15 +00:00

7 lines
126 B
LLVM

; RUN: llc < %s -march=systemz | grep lcgr | count 1
define i64 @foo(i64 %a) {
entry:
%c = sub i64 0, %a
ret i64 %c
}