[PATCH] D132886: [SLP]Improve operands kind analaysis for constants.
Valeriy Dmitriev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 14:22:13 PDT 2022
vdmitrie added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:5833
+ if (any_of(VL, [OpIdx, Op0](Value *V) {
+ return cast<Instruction>(V)->getOperand(OpIdx) == Op0;
+ }))
----------------
I believe this meant to be "!=".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132886/new/
https://reviews.llvm.org/D132886
More information about the llvm-commits
mailing list