diff options
| author | Meador Inge <meadori@codesourcery.com> | 2012-11-30 04:05:06 +0000 |
|---|---|---|
| committer | Meador Inge <meadori@codesourcery.com> | 2012-11-30 04:05:06 +0000 |
| commit | e3f2b26bfadb34a1eb8028a916bd90697eaafe20 (patch) | |
| tree | f7b5dd362fd24b29e8ba9dc5c38f7b087b2dda71 /llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp | |
| parent | dbd6958183dc140ababfa666d591816342263485 (diff) | |
| download | bcm5719-llvm-e3f2b26bfadb34a1eb8028a916bd90697eaafe20.tar.gz bcm5719-llvm-e3f2b26bfadb34a1eb8028a916bd90697eaafe20.zip | |
Move library call simplification statistic to instcombine
The simplify-libcalls pass maintained a statistic to count the number
of library calls that have been simplified. Now that library call
simplification is being carried out in instcombine the statistic should
be moved to there.
llvm-svn: 168975
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp index 43fff858a1e..0d3a2e0a5c8 100644 --- a/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp +++ b/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp @@ -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. |

