Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / inline-stacksize.c
blob6aab158987d7654a3602b4579ca576defe486028
1 // RUN: %clang_cc1 -O2 -emit-llvm %s -o - | FileCheck %s --check-prefixes NOOPT
2 // RUN: %clang_cc1 -O2 -finline-max-stacksize=64 -emit-llvm %s -o - | FileCheck %s --check-prefix OPT
4 void foo() {}
6 // NOOPT-NOT: inline-max-stacksize
7 // OPT: define {{.*}}@foo{{.*}}#[[ATTR:[0-9]+]]
8 // OPT: attributes #[[ATTR]] = {{.*}}"inline-max-stacksize"="64"