[PATCH] D53011: [LV] Add support for vectorizing predicated strided accesses using masked interleave-group
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 11 05:14:42 PDT 2018
Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.
LGTM; just a minor comment trying to keep unrelated NFC changes away.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:7104
// Analyze interleaved memory accesses.
- if (UseInterleaved) {
- IAI.analyzeInterleaving();
- }
+ if (UseInterleaved)
+ IAI.analyzeInterleaving(useMaskedInterleavedAccesses(*TTI));
----------------
Better leave the enclosing {} [to a separate NFC patch if desired]
https://reviews.llvm.org/D53011
More information about the llvm-commits
mailing list