Remove support for const pool merging, which is obsolete now.
authorChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 16:59:35 +0000 (16:59 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 16:59:35 +0000 (16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@471 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index 2183eefb0cc700f398f86016e6588ae4d582f07c..973a78ff8d3f2f95d09f28f564d21d32c98ed68f 100644 (file)
@@ -34,7 +34,7 @@ enum Opts {
   dce, constprop, inlining, strip, mstrip,
 
   // More powerful optimizations
-  indvars, sccp, cpm, adce, raise,
+  indvars, sccp, adce, raise,
 };
 
 struct {
@@ -48,7 +48,6 @@ struct {
   { mstrip   , DoFullSymbolStripping },
   { indvars  , DoInductionVariableCannonicalize },
   { sccp     , DoSCCP                },
-  { cpm      , DoConstantPoolMerging },
   { adce     , DoADCE                },
   { raise    , DoRaiseRepresentation },
 };
@@ -66,7 +65,6 @@ cl::EnumList<enum Opts> OptimizationList(cl::NoFlags,
   clEnumVal(mstrip   , "Strip Module Symbols"),
   clEnumVal(indvars  , "Simplify Induction Variables"),
   clEnumVal(sccp     , "Sparse Conditional Constant Propogation"),
-  clEnumVal(cpm      , "Constant Pool Merging"),
   clEnumVal(adce     , "Agressive DCE"),
   clEnumVal(raise    , "Raise to Higher Level"),
 0);