Fix PR9398 - 10% of llc compile time is spent in Value::getNumUses. This reduces
authorCameron Zwarich <zwarich@apple.com>
Sat, 5 Mar 2011 08:12:26 +0000 (08:12 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sat, 5 Mar 2011 08:12:26 +0000 (08:12 +0000)
commit7c8d351d997655eb457bac5f810c219a9089594c
tree5dc1ffbd76e4c7c199f7f20a11b7d999bc31c054
parentab2e3e2d7074207e2a4bb15e2913fa83795bb1ca
Fix PR9398 - 10% of llc compile time is spent in Value::getNumUses. This reduces
the percentage of time spent in CodeGenPrepare when llcing 403.gcc from 12.6% to
1.8% of total llc time.

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