[PATCH] D99293: [LV] Iterate over recipes in VPlan to fix PHI (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 04:57:18 PDT 2021


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4069
+  VPBasicBlock *Header = State.Plan->getEntry()->getEntryBasicBlock();
+  for (VPRecipeBase &R : *Header) {
+    if (isa<VPWidenIntOrFpInductionRecipe>(&R))
----------------
Ayal wrote:
> iterate over Header->phis()?
This should be updated now I think.


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