PR878: Instead of calculating the vreg to PHI use count everytime we get
authorBill Wendling <isanbard@gmail.com>
Wed, 27 Sep 2006 09:04:15 +0000 (09:04 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 27 Sep 2006 09:04:15 +0000 (09:04 +0000)
commitc36f2a4ceadff85c83f9a2d68b187ec67d547b79
tree48fe0d47c8393f4309dfbf0e45610bf77f8365b3
parent751443713383aaf3d268aa77f8b73edc49a167d8
PR878: Instead of calculating the vreg to PHI use count everytime we get
a function, do it up front in linear time (going through all of the
instructions once). We create a map out of them. Then it's no problem to
use the information in it during elimination...

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