diff options
| author | Tobias Grosser <tobias@grosser.es> | 2016-02-14 19:11:16 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2016-02-14 19:11:16 +0000 |
| commit | 5f105f9bddfd388da840d8a648589b4e2020b90d (patch) | |
| tree | 65def13c6eed084c47030d60e2c03663da9548f5 /polly/lib/Analysis/ScopDetection.cpp | |
| parent | 834931554b1b4b71c205dd1014c2e671ae2380e5 (diff) | |
| download | bcm5719-llvm-5f105f9bddfd388da840d8a648589b4e2020b90d.tar.gz bcm5719-llvm-5f105f9bddfd388da840d8a648589b4e2020b90d.zip | |
[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.
llvm-svn: 260853
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
| -rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 3d24596d45d..0e10fc10205 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(false), cl::ZeroOrMore, cl::cat(PollyCategory)); + cl::init(true), cl::ZeroOrMore, cl::cat(PollyCategory)); static cl::opt<bool> AllowNonAffine("polly-allow-nonaffine", |

