brintos

brintos / llvm-project-archived public Read only

0
0
Text · 654 B · d50eac2 Raw
24 lines · plain
1; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s2;3; Test that space is allocated for the incoming back chain also in cases4; where no GPRs are saved / restored.5 6define void @fun0() #0 {7; CHECK-LABEL: fun0:8; CHECK: lgr     %r1, %r159; CHECK-NEXT: aghi    %r15, -2410; CHECK-NEXT: stg     %r1, 152(%r15)11; CHECK-NEXT: #APP12; CHECK-NEXT: stcke   160(%r15)13; CHECK-NEXT: #NO_APP14; CHECK-NEXT: aghi    %r15, 2415; CHECK-NEXT: br      %r1416 17entry:18  %b = alloca [16 x i8], align 119  call void asm "stcke $0", "=*Q"(ptr elementtype([16 x i8]) nonnull %b) #220  ret void21}22 23attributes #0 = { nounwind "packed-stack" "backchain" "use-soft-float"="true" }24