aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorJonathan Cohen <jcohen22@apple.com>2024-11-21 11:58:37 +0200
committerGitHub <noreply@github.com>2024-11-21 11:58:37 +0200
commit00d383ee9d6fe66799bf9b242b59753d175d51cb (patch)
tree49c7cc915a32ce2022ea6d1d03652083be881a7a /clang/unittests/Frontend/CompilerInvocationTest.cpp
parenta23260087db14032094d62dcf8be9be6f4e3d788 (diff)
downloadllvm-00d383ee9d6fe66799bf9b242b59753d175d51cb.zip
llvm-00d383ee9d6fe66799bf9b242b59753d175d51cb.tar.gz
llvm-00d383ee9d6fe66799bf9b242b59753d175d51cb.tar.bz2
[DAGCombiner] Limit steps in shouldCombineToPostInc (#116030)
Currently the function will walk the entire DAG to find other candidates to perform a post-inc store. This leads to very long compilation times on large functions. Added a MaxSteps limit to avoid this, which is also aligned to how hasPredecessorHelper is used elsewhere in the code.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions