[PATCH] D100792: [LoopInterchange] Handle lcssa PHIs with multiple predecessors

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 10 17:50:10 PDT 2021


Whitney accepted this revision.
Whitney added a comment.
This revision is now accepted and ready to land.

Approve with minor comment.



================
Comment at: llvm/lib/Transforms/Scalar/LoopInterchange.cpp:1475
+      // header.
+      for (pred_iterator PI = pred_begin(InnerLatch), E = pred_end(InnerLatch);
+           PI != E; ++PI) {
----------------
`for (auto *Pred : predecessors(InnerLatch))`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100792/new/

https://reviews.llvm.org/D100792



More information about the llvm-commits mailing list