Incorporate ConstantMerge.h into IPO.h
authorChris Lattner <sabre@nondot.org>
Tue, 23 Jul 2002 19:57:40 +0000 (19:57 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 23 Jul 2002 19:57:40 +0000 (19:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3035 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/ConstantMerge.cpp

index 71eadbf9829963bdbc92c973c04f970a7318c617..905c7a52eb9e3baea3d060f7bc3300477d72a504 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#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<ConstantMerge> X("constmerge", "Merge Duplicate Global Constants");
 }