llvm-project/llvm/test/CodeGen/SystemZ/02-RetNeg.ll

7 lines
136 B
LLVM

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