[polly] r309878 - Enable simplify and forward-op-tree by default

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 13:12:27 PDT 2017


Author: grosser
Date: Wed Aug  2 13:12:27 2017
New Revision: 309878

URL: http://llvm.org/viewvc/llvm-project?rev=309878&view=rev
Log:
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.

Modified:
    polly/trunk/lib/Support/RegisterPasses.cpp

Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=309878&r1=309877&r2=309878&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Wed Aug  2 13:12:27 2017
@@ -195,7 +195,7 @@ static cl::opt<bool>
 static cl::opt<bool>
     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<bool>
     DumpBefore("polly-dump-before",
@@ -227,7 +227,7 @@ static cl::opt<bool>
 static cl::opt<bool>
     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<bool> EnablePruneUnprofitable(
     "polly-enable-prune-unprofitable",




More information about the llvm-commits mailing list