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 | dadea5b1785678d06ce6d0acc4cd289670d4d87e (patch) | |
tree | 87649a42fd9ec3c898779c46ae5dd30f06553908 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 9629e9ac3e91fe1939f43ab430a257458828e143 (diff) | |
download | llvm-dadea5b1785678d06ce6d0acc4cd289670d4d87e.zip llvm-dadea5b1785678d06ce6d0acc4cd289670d4d87e.tar.gz llvm-dadea5b1785678d06ce6d0acc4cd289670d4d87e.tar.bz2 |
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.
llvm-svn: 107193
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions