[llvm] [ARM] Speedups for CombineBaseUpdate. (PR #129725)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 5 04:56:59 PST 2025
================
@@ -16360,8 +16367,8 @@ static SDValue PerformMVEVLDCombine(SDNode *N,
Visited.insert(Addr.getNode());
Worklist.push_back(N);
Worklist.push_back(User);
- if (SDNode::hasPredecessorHelper(N, Visited, Worklist) ||
- SDNode::hasPredecessorHelper(User, Visited, Worklist))
+ if (SDNode::hasPredecessorHelper(N, Visited, Worklist, 1024) ||
----------------
davemgreen wrote:
Added MaxSteps.
https://github.com/llvm/llvm-project/pull/129725
More information about the llvm-commits
mailing list