[PATCH] D100113: [LV] Move reduction PHI node fixup to VPlan::execute (NFC).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 6 00:17:18 PDT 2021
fhahn marked an inline comment as done.
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4309
- // Reductions do not have to start at zero. They can start with
- // any loop invariant values.
- BasicBlock *VectorLoopLatch = LI->getLoopFor(LoopVectorBody)->getLoopLatch();
----------------
Ayal wrote:
> nit: place above comment about start value where it belongs?
I'll move it to `VPReductionPHIRecipe::execute`, which creates & sets the start value.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100113/new/
https://reviews.llvm.org/D100113
More information about the llvm-commits
mailing list