1; Test direct calls. 2; 3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s 4 5declare i64 @bar() 6 7; We must allocate 160 bytes for the callee and save and restore %r14. 8define i64 @f1() { 9; CHECK-LABEL: f1: 10; CHECK: stmg %r14, %r15, 112(%r15) 11; CHECK: aghi %r15, -160 12; CHECK: brasl %r14, bar@PLT 13; CHECK: lmg %r14, %r15, 272(%r15) 14; CHECK: br %r14 15 %ret = call i64 @bar() 16 %inc = add i64 %ret, 1 17 ret i64 %inc 18} 19