[PATCH] D14829: [SLP] Vectorize gather-like idioms ending at non-consecutive loads.

Nadav Rotem via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 11:15:44 PST 2015


nadav added a comment.

@anemet In SelectionDAG we can use the memory order chains, and don't have to scan the whole basic block for loads/stores. This is very efficient, and is already used by the load-store merger in SelectionDAG.

I don't think that with the proposed patch we are very likely to catch patterns that cross basic blocks/loops. Can you show examples of real code that we do catch?


http://reviews.llvm.org/D14829





More information about the llvm-commits mailing list