[PATCH] D132590: [SLP] Try to match reductions first in a vector build sequence.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 25 12:24:35 PDT 2022
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:11820-11823
+ SmallVector<WeakTrackingVH> PostponedInsts;
+ for (Value *Op : BuildVectorOpds)
+ OpsChanged |=
+ vectorizeHorReduction(nullptr, Op, BB, R, TTI, PostponedInsts);
----------------
Why do you want still call this after `findBuildAggregate`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132590/new/
https://reviews.llvm.org/D132590
More information about the llvm-commits
mailing list