[PATCH] D140511: [VPlan] Disconnect VPRegionBlock from successors in graph iterator(NFCI)

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 04:59:23 PST 2023


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

Looks good to me, thanks for adding the test!



================
Comment at: llvm/lib/Transforms/Vectorize/VPlanCFG.h:193
+    if (auto *R = dyn_cast<VPRegionBlock>(Block))
+      return {R, 1};
+
----------------
nit: can comment that 'entry' is the 1 "successor".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140511



More information about the llvm-commits mailing list