xref: /aosp_15_r20/external/clang/test/CodeGen/stackrealign.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 %s -emit-llvm -o - -mstackrealign | FileCheck %s -check-prefix=REALIGN
2 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-REALIGN
3 
4 // REALIGN: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
5 // NO-REALIGN-NOT: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
6 
test1()7 void test1() {
8 }
9