[PATCH] D80219: [VPlan] Use VPUser for VPWidenSelectRecipe operands (NFC).
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 24 01:34:13 PDT 2020
Ayal added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4438
Value *Sel =
Builder.CreateSelect(InvariantCond ? ScalarCond : Cond, Op0, Op1);
VectorLoopValueMap.setVectorValue(&I, Part, Sel);
----------------
As noted earlier, would be good to avoid getting both ScalarCond and Cond, only to use one of them. Can be fixed separately.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80219/new/
https://reviews.llvm.org/D80219
More information about the llvm-commits
mailing list