Chris Lattner 22480c4350 Fix a bug in the local spiller, where we could take code like this:
store r12 -> [ss#2]
  R3 = load [ss#1]
  use R3
  R3 = load [ss#2]
  R4 = load [ss#1]

and turn it into this code:

  store R12 -> [ss#2]
  R3 = load [ss#1]
  use R3
  R3 = R12
  R4 = R3    <- oops!

The problem was that promoting R3 = load[ss#2] to a copy missed the fact that
the instruction invalidated R3 at that point.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23638 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-05 18:30:19 +00:00
..
2005-09-28 22:30:58 +00:00
2005-08-27 18:50:39 +00:00
2005-07-07 23:21:43 +00:00
2005-07-07 23:21:43 +00:00
2005-08-24 10:07:20 +00:00
2005-10-05 17:15:09 +00:00
2005-10-04 21:35:50 +00:00
2004-11-14 21:54:41 +00:00