[PATCH] D77539: [LV] Add VPValue operands to VPBlendRecipe (NFCI)
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 05:55:50 PDT 2020
Ayal accepted this revision.
Ayal added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7429
InnerLoopVectorizer::VectorParts Entry(State.UF);
- for (unsigned In = 0; In < NumIncoming; ++In) {
+ for (unsigned In = 0; In < getNumIncomingValues(); ++In) {
for (unsigned Part = 0; Part < State.UF; ++Part) {
----------------
nit: better set NumIncoming = getNumIncomingValues() once and iterate until In < NumIncoming, as done below in print().
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77539/new/
https://reviews.llvm.org/D77539
More information about the llvm-commits
mailing list