[polly] r260853 - [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:11:17 PST 2016
Author: grosser
Date: Sun Feb 14 13:11:16 2016
New Revision: 260853
URL: http://llvm.org/viewvc/llvm-project?rev=260853&view=rev
Log:
[ScopDectect] Allow memory accesses with different element types by default
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. This fixed the last known bug.
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=260853&r1=260852&r2=260853&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Sun Feb 14 13:11:16 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