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 | 63f932ca3c91ea8ac5b592158f5e8ef7de550547 (patch) | |
tree | 70d968d775fd1e96f2a6bd4002cf9bddfc8780ba /lib/Transforms/Scalar/SimplifyLibCalls.cpp | |
parent | 84bcf93e0fd225de2217d1b712c01586a633a6d8 (diff) | |
download | llvm-63f932ca3c91ea8ac5b592158f5e8ef7de550547.tar.gz llvm-63f932ca3c91ea8ac5b592158f5e8ef7de550547.tar.bz2 llvm-63f932ca3c91ea8ac5b592158f5e8ef7de550547.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/SimplifyLibCalls.cpp')
-rw-r--r-- | lib/Transforms/Scalar/SimplifyLibCalls.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/SimplifyLibCalls.cpp b/lib/Transforms/Scalar/SimplifyLibCalls.cpp index 43fff858a1..0d3a2e0a5c 100644 --- a/lib/Transforms/Scalar/SimplifyLibCalls.cpp +++ b/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. |