blob: 86c77493d3e9ba68309ba41340dd82af969d4f3b [file] [log] [blame]
Jonas Paulssonf12b9252015-11-28 11:02:32 +00001; 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 %s
NAKAMURA Takumi50024612015-11-28 13:05:49 +00005; REQUIRES: asserts
Jonas Paulssonf12b9252015-11-28 11:02:32 +00006
7define void @f6() "no-realign-stack" {
8 %x = alloca i64, i64 1, align 128
9 store volatile i64 10, i64* %x, align 128
10 ret void
11}
12
13; CHECK: Warning: requested alignment 128 exceeds the stack alignment 8
14; CHECK-NOT: nill