[PATCH] D121621: [VPlan] Track current vector loop in VPTransformState (NFC).
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 27 08:13:35 PDT 2022
Ayal added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.cpp:914
+ State->CurrentVectorLoop = L;
State->CFG.LastBB = L->getExitBlock();
----------------
Is CFG.LastBB now redundant, retrievable from CurrentVectorLoop->getExitBlock()?
(Or could CurrentVectorLoop be retrieved from LastBB'd predecessor, if unique.)
================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:358
SmallPtrSet<VPRecipeBase *, 16> MayGeneratePoisonRecipes;
+
+ Loop *CurrentVectorLoop = nullptr;
----------------
Worth documenting?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121621/new/
https://reviews.llvm.org/D121621
More information about the llvm-commits
mailing list