[PATCH] D99294: [VPlan] Representing backedge def-use feeding reduction phis.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 10:01:39 PDT 2021


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:8683
+  for (PHINode *PN : PhisToFix) {
+    VPWidenPHIRecipe *R = cast<VPWidenPHIRecipe>(getRecipe(PN));
+    VPRecipeBase *IncR =
----------------
Ayal wrote:
> can alternatively traverse over  `R : PhiRecipesToFix`, and use R's underlying ingredient to retrieve its PN, etc.
excellent idea, updated!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99294



More information about the llvm-commits mailing list