//
//===----------------------------------------------------------------------===//
-#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,
}
};
+Statistic<> NumMerged("constmerge\t\t- Number of global constants merged");
RegisterPass<ConstantMerge> X("constmerge", "Merge Duplicate Global Constants");
}