1*9880d681SAndroid Build Coastguard Worker; Check the "no-realign-stack" function attribute. We should get a warning. 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=s390x-linux-gnu -debug-only=codegen 2>&1 | \ 4*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck %s 5*9880d681SAndroid Build Coastguard Worker; REQUIRES: asserts 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Workerdefine void @f6() "no-realign-stack" { 8*9880d681SAndroid Build Coastguard Worker %x = alloca i64, i64 1, align 128 9*9880d681SAndroid Build Coastguard Worker store volatile i64 10, i64* %x, align 128 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker; CHECK: Warning: requested alignment 128 exceeds the stack alignment 8 14*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: nill 15