llvm-project/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU
Alina Sbirlea a3d2f703a5 [LoadStoreVectorizer] Enable vectorization of stores in the presence of an aliasing load
Summary:
The "getVectorizablePrefix" method would give up if it found an aliasing load for a store chain.
In practice, the aliasing load can be treated as a memory barrier and all stores that precede it
are a valid vectorizable prefix.
Issue found by volkan in D26962. Testcase is a pruned version of the one in the original patch.

Reviewers: jlebar, arsenm, tstellarAMD

Subscribers: mzolotukhin, wdng, nhaehnle, anna, volkan, llvm-commits

Differential Revision: https://reviews.llvm.org/D27008

llvm-svn: 287781
2016-11-23 17:43:15 +00:00
..
aa-metadata.ll LoadStoreVectorizer: Use AA metadata 2016-07-01 01:47:46 +00:00
adjust-alloca-alignment.ll AMDGPU/SI: Don't allow unaligned scratch access 2016-10-14 18:10:39 +00:00
extended-index.ll
insertion-point.ll [LoadStoreVectorizer] Enable vectorization of stores in the presence of an aliasing load 2016-11-23 17:43:15 +00:00
interleaved-mayalias-store.ll Address two correctness issues in LoadStoreVectorizer 2016-07-01 21:44:12 +00:00
lit.local.cfg
merge-stores-private.ll AMDGPU/SI: Don't allow unaligned scratch access 2016-10-14 18:10:39 +00:00
merge-stores.ll [LSV] Use the original loads' names for the extractelement instructions. 2016-09-07 15:49:48 +00:00
merge-vectors.ll
missing-alignment.ll LoadStoreVectorizer: Don't increase alignment with no align set 2016-07-01 02:09:38 +00:00
multiple_tails.ll [LoadStoreVectorizer] Change VectorSet to Vector to match head and tail positions. Resolves PR29148. 2016-08-30 23:53:59 +00:00
no-implicit-float.ll
optnone.ll LoadStoreVectorizer: Check skipFunction first. 2016-06-30 23:50:18 +00:00
pointer-elements.ll [LSV] Use the original loads' names for the extractelement instructions. 2016-09-07 15:49:48 +00:00
store_with_aliasing_load.ll [LoadStoreVectorizer] Enable vectorization of stores in the presence of an aliasing load 2016-11-23 17:43:15 +00:00
weird-type-accesses.ll LoadStoreVectorizer: Fix crashes on sub-byte types 2016-07-01 00:36:54 +00:00