Fix a bug that Evan exposed with some changes he's making, and that was
authorChris Lattner <sabre@nondot.org>
Sat, 25 Feb 2006 02:17:31 +0000 (02:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Feb 2006 02:17:31 +0000 (02:17 +0000)
commit28bad084118a9746df95084364d7d95de00c3b67
tree43eb450332c253fe73ea9e333bd27f7fa7f40137
parent47cb7173ea48691343b1046a0228a87c03b4167e
Fix a bug that Evan exposed with some changes he's making, and that was
exposed with a fastcc problem (breaking pcompress2 on x86 with -enable-x86-fastcc).

When reloading a reused reg, make sure to invalidate the reloaded reg, and
check to see if there are any other pending uses of the same register.

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