Add statistics on removed switch cases, and fix the phi statistic
authorDuncan Sands <baldrick@free.fr>
Fri, 9 Mar 2012 19:21:15 +0000 (19:21 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 9 Mar 2012 19:21:15 +0000 (19:21 +0000)
commita8eb6bb408e84ceb468ceb409f4c87308e67b9eb
tree1a56fbfc23c417e2842326f46a40fe2b5a16f728
parent07c32218f448b7637d4acad8e87ce7cfaef0277e
Add statistics on removed switch cases, and fix the phi statistic
to count the number of phis changed, not the number visited.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152425 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp