From a195576118c97c4af34b66e45b3694906eda1ba2 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Wed, 2 Aug 2017 20:12:27 +0000 Subject: Enable simplify and forward-op-tree by default These passes have been tested over the last month and should generally help to remove scalar data dependences in Polly. We enable them to give them even wider test coverage. Large performance regressions and any kind of correctness regressions are not expected. llvm-svn: 309878 --- polly/lib/Support/RegisterPasses.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index 6396b6ffa0c..a28efbe3bde 100644 --- a/polly/lib/Support/RegisterPasses.cpp +++ b/polly/lib/Support/RegisterPasses.cpp @@ -195,7 +195,7 @@ static cl::opt static cl::opt EnableForwardOpTree("polly-enable-optree", cl::desc("Enable operand tree forwarding"), cl::Hidden, - cl::init(false), cl::cat(PollyCategory)); + cl::init(true), cl::cat(PollyCategory)); static cl::opt DumpBefore("polly-dump-before", @@ -227,7 +227,7 @@ static cl::opt static cl::opt EnableSimplify("polly-enable-simplify", cl::desc("Simplify SCoP after optimizations"), - cl::init(false), cl::cat(PollyCategory)); + cl::init(true), cl::cat(PollyCategory)); static cl::opt EnablePruneUnprofitable( "polly-enable-prune-unprofitable", -- cgit v1.2.3