summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-11-16 22:50:23 +0000
committerTobias Grosser <tobias@grosser.es>2014-11-16 22:50:23 +0000
commit7031141009b44740bf52ceb5f84e29e7a8184b69 (patch)
tree9f5ada3df312838a708bdb9b991e3731d06d8857
parentbab3568105ede202ceb4a16ad8cb3f615af5f54d (diff)
downloadbcm5719-llvm-7031141009b44740bf52ceb5f84e29e7a8184b69.tar.gz
bcm5719-llvm-7031141009b44740bf52ceb5f84e29e7a8184b69.zip
Enable SCEV based code generation by default
SCEV based code generation allows Polly to detect and generate code for loops that do not have an explicit induction variable, but only virtual induction variables given by SCEV. Being able to do so has two main benefits: - We can detect more scops by default - We require less canonicalization before Polly, which means we get closer to our goal of not touching the IR before analyzing its properties. Specifically, we do not need to run -polly-indvars to introduce explicit canonical induction variables. This switch became possible as both the isl code generation and -polly-parallel are LNT error free with SCEV based code generation and the isl ast generator. llvm-svn: 222113
-rw-r--r--polly/lib/CodeGen/BlockGenerators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp
index 8788151dcce..e483cae5347 100644
--- a/polly/lib/CodeGen/BlockGenerators.cpp
+++ b/polly/lib/CodeGen/BlockGenerators.cpp
@@ -42,7 +42,7 @@ static cl::opt<bool> Aligned("enable-polly-aligned",
static cl::opt<bool, true>
SCEVCodegenF("polly-codegen-scev",
cl::desc("Use SCEV based code generation."), cl::Hidden,
- cl::location(SCEVCodegen), cl::init(false), cl::ZeroOrMore,
+ cl::location(SCEVCodegen), cl::init(true), cl::ZeroOrMore,
cl::cat(PollyCategory));
bool polly::SCEVCodegen;
OpenPOWER on IntegriCloud