mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 01:36:04 +00:00

-force-align-stack. Also, make changes to the driver so that -mno-stack-realign is no longer an option exposed to the end-user that disallows stack realignment in the backend. Differential Revision: http://reviews.llvm.org/D11815 llvm-svn: 247451
9 lines
314 B
C
9 lines
314 B
C
// RUN: %clang_cc1 %s -emit-llvm -o - -mstackrealign | FileCheck %s -check-prefix=REALIGN
|
|
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-REALIGN
|
|
|
|
// REALIGN: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
|
|
// NO-REALIGN-NOT: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
|
|
|
|
void test1() {
|
|
}
|