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

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
}