[PATCH] D36130: [SLP] Vectorize jumbled memory loads.
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 11 12:18:41 PST 2018
sanjoy accepted this revision.
sanjoy added a comment.
I don't have any more coding style comments. I've not reviewed the actual semantic changes.
================
Comment at: lib/Analysis/LoopAccessAnalysis.cpp:1166
+ if (Mask) {
+ Mask->reserve(VL.size());
+ for (unsigned i = 0; i < VL.size(); i++)
----------------
Can you use `std::iota` here?
Repository:
rL LLVM
https://reviews.llvm.org/D36130
More information about the llvm-commits
mailing list