[PATCH] D22536: [LSV] Vectorize up to side-effecting instructions.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 14:19:27 PDT 2016


jlebar created this revision.
jlebar added a reviewer: asbirlea.
jlebar added subscribers: llvm-commits, arsenm.
Herald added subscribers: mzolotukhin, jholewinski.

Previously if we had a chain that contained a side-effecting
instruction, we wouldn't vectorize it at all.  Now we'll vectorize
everything that comes before the side-effecting instruction.

https://reviews.llvm.org/D22536

Files:
  lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg
  test/Transforms/LoadStoreVectorizer/NVPTX/merge-across-side-effects.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22536.64565.patch
Type: text/x-patch
Size: 3687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160719/2269be56/attachment.bin>


More information about the llvm-commits mailing list