llvm-6502/test/CodeGen/SystemZ/03-RetNegImmSubreg.ll

9 lines
137 B
LLVM
Raw Normal View History

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