3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
5 ; We must allocate 160 bytes for the callee and save and restore %r14.
6 define i64 @f1(ptr %bar) {
8 ; CHECK: stmg %r14, %r15, 112(%r15)
9 ; CHECK: aghi %r15, -160
10 ; CHECK: basr %r14, %r2
11 ; CHECK: lmg %r14, %r15, 272(%r15)
13 %ret = call i64 %bar()
14 %inc = add i64 %ret, 1