[PATCH] D27919: [Loop Vectorizer] Interleave vs Gather - in some cases Gather is better.
Michael Kuperstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 10:11:47 PST 2016
mkuper added inline comments.
================
Comment at: ../../ver4/lib/Transforms/Vectorize/LoopVectorize.cpp:7052
+ // becomes better.
+ if (InterleaveFactor > TTI.getMaxInterleaveFactor(VF) &&
+ Legal->isLegalGatherOrScatter(I)) {
----------------
Aren't we already checking this in selectInterleaveCount()?
How do we end up with interleave factors above MaxInterleaveFactor in the first place?
Repository:
rL LLVM
https://reviews.llvm.org/D27919
More information about the llvm-commits
mailing list