summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/03-RetNegImmSubreg.ll
blob: 87ebcc1f0a4f84fe90643a3bb616960bedb31e2f (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -march=systemz | grep lcr | count 1

define i32 @foo(i32 %a) {
entry:
    %c = sub i32 0, %a
    ret i32 %c
}