[polly] r260854 - Revert "[ScopDectect] Allow memory accesses with different element types by default"

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 14 11:59:29 PST 2016


Author: grosser
Date: Sun Feb 14 13:59:29 2016
New Revision: 260854

URL: http://llvm.org/viewvc/llvm-project?rev=260854&view=rev
Log:
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.

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=260854&r1=260853&r2=260854&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Sun Feb 14 13:59:29 2016
@@ -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",




More information about the llvm-commits mailing list