================
@@ -545,15 +545,13 @@ struct LoopFuser {
collectFusionCandidates(LV);
Changed |= fuseCandidates();
+ // All loops in the candidate sets have a common parent (or not parent).
----------------
amehsan wrote:
Done
https://github.com/llvm/llvm-project/pull/184689