[PATCH] D93975: [VPlan] Keep start value of VPWidenPHIRecipe as VPValue.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 06:48:13 PST 2021


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


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4597
+        if (ScalarPHI) {
+          StartV = Iden = StartV;
+        } else {
----------------
gilr wrote:
> Intentionally assigning StartV to itself? (symmetry with the else clause?)
It's not needed. (can. be `Iden = StartV;`). Applied to D94175.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93975



More information about the llvm-commits mailing list