[PATCH] D116740: [SLP]Improve reordering for the nodes beeing used in alternate vectorization.
Valeriy Dmitriev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 1 16:54:00 PDT 2022
vdmitrie added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3245-3250
if (TE->isSame(VL)) {
Gather = TE;
return true;
}
return false;
}) > 1)
----------------
Problem is seems to be here when VL is all constants. Operands are still can be reordered with no extra cost.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116740/new/
https://reviews.llvm.org/D116740
More information about the llvm-commits
mailing list