[PATCH] D99293: [LV] Iterate over recipes in VPlan to fix PHIs.
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 28 23:52:21 PDT 2021
Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.
Looks good to me, adding a minor nit; worth adding "NFC" to title.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4069
+ VPBasicBlock *Header = State.Plan->getEntry()->getEntryBasicBlock();
+ for (VPRecipeBase &R : *Header) {
+ if (isa<VPWidenIntOrFpInductionRecipe>(&R))
----------------
iterate over Header->phis()?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99293/new/
https://reviews.llvm.org/D99293
More information about the llvm-commits
mailing list