summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopDetection.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-02-14 19:59:29 +0000
committerTobias Grosser <tobias@grosser.es>2016-02-14 19:59:29 +0000
commit5e27ec33ea81c159c2724aaeeba1826878167ad6 (patch)
tree067c782ca95b19d86c691af046061e0d88782feb /polly/lib/Analysis/ScopDetection.cpp
parent5f105f9bddfd388da840d8a648589b4e2020b90d (diff)
downloadbcm5719-llvm-5e27ec33ea81c159c2724aaeeba1826878167ad6.tar.gz
bcm5719-llvm-5e27ec33ea81c159c2724aaeeba1826878167ad6.zip
Revert "[ScopDectect] Allow memory accesses with different element types by default"
This reverts commit https://llvm.org/svn/llvm-project/polly/trunk@260853 We unfortunately still have two bugs left which show only up with -polly-process-unprofitable and which I forgot to test before committing. llvm-svn: 260854
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
-rw-r--r--polly/lib/Analysis/ScopDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index 0e10fc10205..3d24596d45d 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -124,7 +124,7 @@ static cl::opt<bool>
static cl::opt<bool> AllowDifferentTypes(
"polly-allow-differing-element-types",
cl::desc("Allow different element types for array accesses"), cl::Hidden,
- cl::init(true), cl::ZeroOrMore, cl::cat(PollyCategory));
+ cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
static cl::opt<bool>
AllowNonAffine("polly-allow-nonaffine",
OpenPOWER on IntegriCloud