Remove support for const pool merging, which is obsolete now.
llvm-svn: 471
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 2183eef..973a78f 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -34,7 +34,7 @@
dce, constprop, inlining, strip, mstrip,
// More powerful optimizations
- indvars, sccp, cpm, adce, raise,
+ indvars, sccp, adce, raise,
};
struct {
@@ -48,7 +48,6 @@
{ mstrip , DoFullSymbolStripping },
{ indvars , DoInductionVariableCannonicalize },
{ sccp , DoSCCP },
- { cpm , DoConstantPoolMerging },
{ adce , DoADCE },
{ raise , DoRaiseRepresentation },
};
@@ -66,7 +65,6 @@
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);