summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2015-04-08 04:16:55 +0000
committerAdam Nemet <anemet@apple.com>2015-04-08 04:16:55 +0000
commite09a928c803cf1d2fefa929618cf98078c5a3193 (patch)
tree423bb599250a885573e55568df7607aec719d128 /llvm/lib/Transforms/Vectorize
parentf28ede810c08284fcc2eb618981cdaab471cf0a6 (diff)
downloadbcm5719-llvm-e09a928c803cf1d2fefa929618cf98078c5a3193.tar.gz
bcm5719-llvm-e09a928c803cf1d2fefa929618cf98078c5a3193.zip
Revert "[LoopAccesses] Allow analysis to complete in the presence of uniform stores"
This reverts commit r234361. It caused PR23157. llvm-svn: 234387
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 8986932309a..21588568ede 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -4009,14 +4009,6 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
if (!LAI->canVectorizeMemory())
return false;
- if (LAI->hasStoreToLoopInvariantAddress()) {
- emitAnalysis(
- VectorizationReport()
- << "write to a loop invariant address could not be vectorized");
- DEBUG(dbgs() << "LV: We don't allow storing to uniform addresses\n");
- return false;
- }
-
if (LAI->getNumRuntimePointerChecks() >
VectorizerParams::RuntimeMemoryCheckThreshold) {
emitAnalysis(VectorizationReport()
OpenPOWER on IntegriCloud