[PATCH] D36130: [SLP] Vectorize jumbled memory loads.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 11:01:24 PST 2018
ABataev added inline comments.
================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:1660
+ "permutation of loaded lanes.\n");
+ newTreeEntry(Sorted, /*Vectorized*/ true, UserTreeIdx,
+ ReuseShuffleIndicies, Mask);
----------------
No, use original `VL` here, do not use `Sorted`. In this case you won't need an additional argument in `sortLoadAccesses` and you don't need all that complex stuff with the lambda on line 3528
Repository:
rL LLVM
https://reviews.llvm.org/D36130
More information about the llvm-commits
mailing list