summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/02-RetSubImm.ll
blob: 81d50d42d8ec63c5588ce6a54fcafbf1093dff2d (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=systemz

define i64 @foo(i64 %a, i64 %b) {
entry:
    %c = sub i64 %a, 1
    ret i64 %c
}