[llvm] [LoopFusion] Correction in the comments (NFC) (PR #184689)

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 20:47:48 PST 2026


================
@@ -545,15 +545,13 @@ struct LoopFuser {
 
         collectFusionCandidates(LV);
         Changed |= fuseCandidates();
+        // All loops in the candidate sets have a common parent (or not parent).
+        // Next loop vector, will include loops with a different parent. It is
----------------
sweiglbosker wrote:

Nit: i have a hard time understanding this wording. maybe something like “the next lv will correspond to a different parent, so we clear the current candidates”?

https://github.com/llvm/llvm-project/pull/184689


More information about the llvm-commits mailing list