[polly] r260965 - ScopDectect: Allow memory accesses with different element types by default (try 3)

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 06:37:24 PST 2016


Author: grosser
Date: Tue Feb 16 08:37:24 2016
New Revision: 260965

URL: http://llvm.org/viewvc/llvm-project?rev=260965&view=rev
Log:
ScopDectect: Allow memory accesses with different element types by default (try 3)

First support for this feature was committed in r259784. Support for
loop invariant load hoisting with different types was added by
Johannes Doerfert in r260045 and r260886.

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=260965&r1=260964&r2=260965&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Tue Feb 16 08:37:24 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(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+    cl::init(true), cl::ZeroOrMore, cl::cat(PollyCategory));
 
 static cl::opt<bool>
     AllowNonAffine("polly-allow-nonaffine",




More information about the llvm-commits mailing list