aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-06-29 19:15:30 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-06-29 19:15:30 +0000
commitdadea5b1785678d06ce6d0acc4cd289670d4d87e (patch)
tree87649a42fd9ec3c898779c46ae5dd30f06553908 /llvm/lib/CodeGen/MachineFunction.cpp
parent9629e9ac3e91fe1939f43ab430a257458828e143 (diff)
downloadllvm-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