aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2025-03-19 15:16:38 +0100
committerGitHub <noreply@github.com>2025-03-19 15:16:38 +0100
commitbaef6fadbf0e4ddac33c6a8a6275208435f52965 (patch)
treecacb1a9ff21e0626d286fe63eed634d7f6f66c10 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent0cb9c5045b556c668e6d7b47f6a90032d2aa0f21 (diff)
downloadllvm-baef6fadbf0e4ddac33c6a8a6275208435f52965.zip
llvm-baef6fadbf0e4ddac33c6a8a6275208435f52965.tar.gz
llvm-baef6fadbf0e4ddac33c6a8a6275208435f52965.tar.bz2
[Clang] Increase the default expression nesting limit (#132021)
This iterates on #104717 (which we had to revert) In a bid to increase our chances of success, we try to avoid blowing up the stack by - Using `runWithSufficientStackSpace` in ParseCompoundStatement - Reducing the size of `StmtVector` a bit - Reducing the size of `DeclsInGroup` a bit - Removing a few `ParsedAttributes` from the stacks in places where they are not strictly necessary. `ParsedAttributes` is a _huge_ object On a 64 bits system, the following stack size reductions are observed ``` ParseStatementOrDeclarationAfterAttributes: 344 -> 264 ParseStatementOrDeclaration: 520 -> 376 ParseCompoundStatementBody: 1080 -> 1016 ParseDeclaration: 264 -> 120 ``` Fixes #94728
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions