Fix the stats collection for fast-isel. The failed count was only accounting
authorChad Rosier <mcrosier@apple.com>
Wed, 16 Nov 2011 21:02:08 +0000 (21:02 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 16 Nov 2011 21:02:08 +0000 (21:02 +0000)
commitf91488cc1027267fa21665818d3c90bb8b2a25ce
treece3ddd3a005b2fcf4ffb176429e0ccde6e576b43
parent2929de422e4f0ca80e4f428ab970f06616e1d9b2
Fix the stats collection for fast-isel.  The failed count was only accounting
for a single miss and not all predecessor instructions that get selected by
the selection DAG instruction selector.  This is still not exact (e.g., over
states misses when folded/dead instructions are present), but it is a step in
the right direction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144832 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp