Move library call simplification statistic to instcombine
[oota-llvm.git] / lib / Transforms / Scalar / SimplifyLibCalls.cpp
index 43fff858a1eff713ee6330633fbfdbe722c8306e..0d3a2e0a5c8b64ca9d1c72bd497ef8c2784aca2d 100644 (file)
@@ -35,7 +35,6 @@
 #include "llvm/Config/config.h"            // FIXME: Shouldn't depend on host!
 using namespace llvm;
 
-STATISTIC(NumSimplified, "Number of library calls simplified");
 STATISTIC(NumAnnotated, "Number of attributes added to library functions");
 
 //===----------------------------------------------------------------------===//
@@ -193,7 +192,6 @@ bool SimplifyLibCalls::runOnFunction(Function &F) {
 
       // Something changed!
       Changed = true;
-      ++NumSimplified;
 
       // Inspect the instruction after the call (which was potentially just
       // added) next.