diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-29 19:15:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-29 19:15:30 +0000 |
commit | d1303d2a66241c70e0e35dac371636c883235df8 (patch) | |
tree | 34e77e5ecc80dcd6250928df68c0d03d56dfcfca /lib/CodeGen/MachineFunction.cpp | |
parent | 5d52165e4e2f83e6e66063382f323435da21090d (diff) |
Fix the handling of partial redefines in the fast register allocator.
A partial redefine needs to be treated like a tied operand, and the register
must be reloaded while processing use operands.
This fixes a bug where partially redefined registers were processed as normal
defs with a reload added. The reload could clobber another use operand if it was
a kill that allowed register reuse.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions