1. Bug fix: Don't use branch operand reg. as temp. reg. when
authorVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 29 Jul 2003 19:49:21 +0000 (19:49 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 29 Jul 2003 19:49:21 +0000 (19:49 +0000)
commit814030a0c588732e3bbb281e4a0139628e49802a
treee53877e08d9a8391b5f0a223cbd9abf276db947f
parent7a81a0fd139ec0ddba62eadacbcb8c22e1f0c11f
1. Bug fix:  Don't use branch operand reg. as temp. reg. when
   spilling values used by an instruction in the delay slot of the branch
   (which will eventually be moved before the branch).
2. Bug fix:  Delete the delay slot instr, not the branch instr, when
   moving delay slot instr. out!!!!
3. Move code to insert caller-saves moved here from SparcRegInfo:
   it is now machine-independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7389 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp