[llvm] [LoopFusion] Improve collectFusionCandidates() (PR #182571)
Alireza Torabian via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 20 12:11:55 PST 2026
https://github.com/1997alireza commented:
Changing the definition of `NumFusionCandidates` makes sense to me.
Regarding the order in which the loops are visited, it also matches what I remember and seems to be valid. To be sure it’s correct, it would be nice to test the original version and confirm that if `(isStrictlyAdjacent(CurrCand, CurrCandList.front()))` never actually runs.
https://github.com/llvm/llvm-project/pull/182571
More information about the llvm-commits
mailing list