llvm-mirror/test/CodeGen/SystemZ/03-RetNegImmSubreg.ll
2009-09-09 00:09:15 +00:00

9 lines
127 B
LLVM

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