aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/03-RetNegImmSubreg.ll
blob: fa83803fc0c1785fb14ba918e2900a0d7f57fe47 (plain)
1
2
3
4
5
6
7
8
; 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
}