If we reload a virtual register that's already been assigned, we want to mark
authorBill Wendling <isanbard@gmail.com>
Fri, 29 Feb 2008 18:52:01 +0000 (18:52 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 29 Feb 2008 18:52:01 +0000 (18:52 +0000)
commit97e3c01eb4ee6afff602ad11a2f2788ed7c83580
tree56f692cb9af104c4c742b3592628c87ce7615bc9
parent4f658e9e4b2c7c25779c304a90f460615d35e555
If we reload a virtual register that's already been assigned, we want to mark
that instruction as its "last use". This fixes PR1925.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47758 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
test/CodeGen/ARM/2008-02-29-RegAllocLocal.ll [new file with mode: 0644]