diff options
author | Alina Sbirlea <asbirlea@google.com> | 2016-11-23 17:43:15 +0000 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2016-11-23 17:43:15 +0000 |
commit | a3d2f703a5b3cf531cd8a472454c0f7b4fd87bbc (patch) | |
tree | baae0a5c78995cf9b26a3ed2060c33e4945776f7 /llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp | |
parent | f174a0bbd24b0efda7c7acb6fff1ed5ed9013a00 (diff) | |
download | bcm5719-llvm-a3d2f703a5b3cf531cd8a472454c0f7b4fd87bbc.tar.gz bcm5719-llvm-a3d2f703a5b3cf531cd8a472454c0f7b4fd87bbc.zip |
[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
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions