1 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
3 ; Test that space is allocated for the incoming back chain also in cases
4 ; where no GPRs are saved / restored.
6 define void @fun0() #0 {
9 ; CHECK-NEXT: aghi %r15, -24
10 ; CHECK-NEXT: stg %r1, 152(%r15)
12 ; CHECK-NEXT: stcke 160(%r15)
14 ; CHECK-NEXT: aghi %r15, 24
18 %b = alloca [16 x i8], align 1
19 %0 = getelementptr inbounds [16 x i8], [16 x i8]* %b, i64 0, i64 0
20 call void asm "stcke $0", "=*Q"([16 x i8]* nonnull %b) #2
24 attributes #0 = { nounwind "packed-stack" "backchain" "use-soft-float"="true" }