; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=s390x-unknown-linux < %s | FileCheck %s
define i32 @unwind(i32 %a, i32 %b) {
; CHECK-LABEL: unwind:
; CHECK: # %bb.0:
; CHECK-NEXT: ar %r2, %r3
; CHECK-NEXT: br %r14
%add = add i32 %a, %b
ret i32 %add
}
define i32 @nounwind(i32 %a, i32 %b) nounwind {
; CHECK-LABEL: nounwind:
; CHECK: # %bb.0:
; CHECK-NEXT: ar %r2, %r3
; CHECK-NEXT: br %r14
%add = add i32 %a, %b
ret i32 %add
}