[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 05:51:50 PDT 2021


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4299
   // Reductions do not have to start at zero. They can start with
   // any loop invariant values.
   for (unsigned Part = 0; Part < UF; ++Part) {
----------------
fhahn wrote:
> Ayal wrote:
> > nit: worth hoisting `LoopVectorLatch = LI->getLoopFor(LoopVectorBody)->getLoopLatch()` here.
> > (admittedly independent of this patch)
> I'll do that in a separate commit.
Done in cb96d802d4d7


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