brintos

brintos / llvm-project-archived public Read only

0
0
Text · 412 B · 628dfbb Raw
15 lines · plain
1; Check the "no-realign-stack" function attribute. We should get a warning.2 3; RUN: llc < %s -mtriple=s390x-linux-gnu -debug-only=codegen 2>&1 | \4; RUN:   FileCheck %s5; REQUIRES: asserts6 7define void @f6() "no-realign-stack" {8  %x = alloca i64, i64 1, align 1289  store volatile i64 10, ptr %x, align 12810  ret void11}12 13; CHECK: Warning: requested alignment 128 exceeds the stack alignment 814; CHECK-NOT: nill15