llvm-project
00d383ee - [DAGCombiner] Limit steps in shouldCombineToPostInc (#116030)

Commit
322 days ago
[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.
Author
Parents
Loading