[PATCH] D86133: [LoopNest] False negative of `arePerfectlyNested` with LCSSA loops

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 07:05:07 PDT 2020


Whitney accepted this revision.
Whitney added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Analysis/LoopNestAnalysis.cpp:232
+  // Returns whether the block B contains at least one LCSSA Phi node.
+  auto ContainsLCSSAPhi = [](const BasicBlock &B) {
+    return any_of(B, [&](const Instruction &I) {
----------------
Rename `B` to `ExitBlock`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86133



More information about the llvm-commits mailing list