If a spilled value is being reused and the use is a kill, that means there are
authorEvan Cheng <evan.cheng@apple.com>
Tue, 14 Aug 2007 09:11:18 +0000 (09:11 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 14 Aug 2007 09:11:18 +0000 (09:11 +0000)
commitfff3e191b959bfc00e266b47f5c142464bb50ebf
treebbf80fe184d7923dc62e0afee6a81a311e6af7b4
parentd24165aa71cc69bf325aaa5a76b5e1992b6e4de2
If a spilled value is being reused and the use is a kill, that means there are
no more uses within the MBB and the spilled value isn't live out of the MBB.
Then it's safe to delete the spill store.

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