aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/02-RetNeg.ll
blob: 0bfbc7f11b962b63096d93f10a1ebfa813bd0d1d (plain)
1
2
3
4
5
6
7
; 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
}