Move library call simplification statistic to instcombine
authorMeador Inge <meadori@codesourcery.com>
Fri, 30 Nov 2012 04:05:06 +0000 (04:05 +0000)
committerMeador Inge <meadori@codesourcery.com>
Fri, 30 Nov 2012 04:05:06 +0000 (04:05 +0000)
commite3f2b26bfadb34a1eb8028a916bd90697eaafe20
treef7b5dd362fd24b29e8ba9dc5c38f7b087b2dda71
parentdbd6958183dc140ababfa666d591816342263485
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
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp