[PATCH] D115329: [LoopVectorize] Pass a vector type to isLegalMaskedGather/Scatter
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 14 06:05:24 PST 2021
sdesmalen added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3377
+ CommonAlignment) &&
+ !TTI.forceScalarizeMaskedGather(
+ FixedVectorType::get(ScalarTy, VL.size()), CommonAlignment))
----------------
Hi @RosieSumpter this check should probably not be here anymore. Only isLegalMaskedGather should be used to determine whether or not to use an intrinsic for the gather operation.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115329/new/
https://reviews.llvm.org/D115329
More information about the llvm-commits
mailing list