When checking if something's killed, don't rely simply on whether it's marked as
authorBill Wendling <isanbard@gmail.com>
Tue, 16 Mar 2010 01:05:35 +0000 (01:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 16 Mar 2010 01:05:35 +0000 (01:05 +0000)
commit8fe347a8b5f0d5dc4d3aea1fc3d3c4b21b6c686f
tree87a7febd26d4db66f6ab3fc76cd5cdb32111848b
parent5f19c43161ea7c220bfdf9e958668daff55f1f23
When checking if something's killed, don't rely simply on whether it's marked as
"used outside of the block". If the block ends in a return, then it won't be
used outside of it.

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