From: Chris Lattner Date: Tue, 23 Jul 2002 19:57:40 +0000 (+0000) Subject: Incorporate ConstantMerge.h into IPO.h X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9cfea85b8b41458c8d0e84c52fad6f2244d3ae33;p=oota-llvm.git Incorporate ConstantMerge.h into IPO.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3035 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/ConstantMerge.cpp b/lib/Transforms/IPO/ConstantMerge.cpp index 71eadbf9829..905c7a52eb9 100644 --- a/lib/Transforms/IPO/ConstantMerge.cpp +++ b/lib/Transforms/IPO/ConstantMerge.cpp @@ -14,13 +14,11 @@ // //===----------------------------------------------------------------------===// -#include "llvm/Transforms/ConstantMerge.h" +#include "llvm/Transforms/IPO.h" #include "llvm/Module.h" #include "llvm/Pass.h" #include "Support/StatisticReporter.h" -static Statistic<> NumMerged("constmerge\t\t- Number of global constants merged"); - namespace { struct ConstantMerge : public Pass { // run - For this pass, process all of the globals in the module, @@ -33,6 +31,7 @@ namespace { } }; +Statistic<> NumMerged("constmerge\t\t- Number of global constants merged"); RegisterPass X("constmerge", "Merge Duplicate Global Constants"); }