diff options
author | Jonathan Cohen <jcohen22@apple.com> | 2024-11-21 11:58:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 11:58:37 +0200 |
commit | 00d383ee9d6fe66799bf9b242b59753d175d51cb (patch) | |
tree | 49c7cc915a32ce2022ea6d1d03652083be881a7a /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | a23260087db14032094d62dcf8be9be6f4e3d788 (diff) | |
download | llvm-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