If a MI uses the same register more than once, only mark one of them as 'kill'.
authorEvan Cheng <evan.cheng@apple.com>
Sun, 8 Mar 2009 03:58:35 +0000 (03:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 8 Mar 2009 03:58:35 +0000 (03:58 +0000)
commit821b8560e735613dfcf7670866f9142e4845037e
treec55235dae97955001b6989b5085bf79f40556b10
parent8e10844ad0341fa4b0a1264324a3614903d8ff9e
If a MI uses the same register more than once, only mark one of them as 'kill'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/ARM/2009-03-07-SpillerBug.ll [new file with mode: 0644]