summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2016-11-23 17:43:15 +0000
committerAlina Sbirlea <asbirlea@google.com>2016-11-23 17:43:15 +0000
commita3d2f703a5b3cf531cd8a472454c0f7b4fd87bbc (patch)
treebaae0a5c78995cf9b26a3ed2060c33e4945776f7 /llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
parentf174a0bbd24b0efda7c7acb6fff1ed5ed9013a00 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud