diff options
| author | Eric Christopher <echristo@gmail.com> | 2019-04-19 22:18:53 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2019-04-19 22:18:53 +0000 |
| commit | dfebd84eb32b0e506523c8bc1708c03447bdd574 (patch) | |
| tree | 16055b588a16e01e8c3977f8bff11837b88a9c0d /llvm/lib/Transforms | |
| parent | 1810339bc30555cc8b957d4b6915d60dfd32432c (diff) | |
| download | bcm5719-llvm-dfebd84eb32b0e506523c8bc1708c03447bdd574.tar.gz bcm5719-llvm-dfebd84eb32b0e506523c8bc1708c03447bdd574.zip | |
Remove the EnableEarlyCSEMemSSA set of options from the legacy
and new pass managers. They were default to true and not being
used.
Differential Revision: https://reviews.llvm.org/D60747
llvm-svn: 358789
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 196433f8bc0..eeb196866ea 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -115,10 +115,6 @@ static cl::opt<int> PreInlineThreshold( cl::desc("Control the amount of inlining in pre-instrumentation inliner " "(default = 75)")); -static cl::opt<bool> EnableEarlyCSEMemSSA( - "enable-earlycse-memssa", cl::init(true), cl::Hidden, - cl::desc("Enable the EarlyCSE w/ MemorySSA pass (default = on)")); - static cl::opt<bool> EnableGVNHoist( "enable-gvn-hoist", cl::init(false), cl::Hidden, cl::desc("Enable the GVN hoisting pass (default = off)")); @@ -334,7 +330,7 @@ void PassManagerBuilder::addFunctionSimplificationPasses( // Start of function pass. // Break up aggregate allocas, using SSAUpdater. MPM.add(createSROAPass()); - MPM.add(createEarlyCSEPass(EnableEarlyCSEMemSSA)); // Catch trivial redundancies + MPM.add(createEarlyCSEPass(true /* Enable mem-ssa. */)); // Catch trivial redundancies if (EnableGVNHoist) MPM.add(createGVNHoistPass()); if (EnableGVNSink) { |

