================ @@ -2168,6 +2170,26 @@ void LoopInterchangeTransform::restructureLoops( SE->forgetLoop(NewOuter); } +/// Update the metadata attached to the latch branches of the two loops. The +/// loop metadata and the branch weights are dropped. Some attributes of the +/// loop metadata may not hold after interchange (e.g., +/// llvm.loop.parallel_accesses of the inner loop doesn't imply that the loop is ---------------- kasuga-fj wrote:
Since this patch drops all of them for now, I'd prefer to leave the comment as is. Also, after #235896, each latch ends up controlling the other loop's iterations, so the sentence wouldn't hold there. I'll revisit the comment in the follow-up. https://github.com/llvm/llvm-project/pull/235892 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
