Fixed some spiller bugs exposed by the recent two-address code changes. Now
authorEvan Cheng <evan.cheng@apple.com>
Sat, 4 Nov 2006 00:21:55 +0000 (00:21 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 4 Nov 2006 00:21:55 +0000 (00:21 +0000)
commite077ef6e85fe0c18f135e6c2c78572a44f689b14
tree9d063d4d508ac09c9bf6fa5710575b9fb55a79d2
parent0638b260dcf691752cbff29d5183e89bf01132d1
Fixed some spiller bugs exposed by the recent two-address code changes. Now
there may be other def(s) apart from the use&def two-address operand. We need
to check if the register reuse for a use&def operand may conflicts with another
def. Provide a mean to recover from the conflict if it is detected when the
defs are processed later.

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