aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-12-14 07:54:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-12-14 07:54:05 +0000
commit7a0d51c8e3d6cdc6d961f6525f97f8926fb76c83 (patch)
tree7adcde95c80848de9531083a042556a7d570a462 /lib/CodeGen/MachineFunction.cpp
parent8e58a1b17bb57e6ffa187a0ec758f9a1bed7685b (diff)
Fix a long-standing spiller bug:
If a spillslot value is available in a register, and there is a noop copy that targets that register, the spiller correctly decide not to invalidate the spillslot register. However, even though the noop copy does not clobbers the value. It does start a new intersecting live range. That means the spillslot register is available for use but should not be reused for a two-address instruction modref operand which would clobber the new live range. When we remove the noop copy, update the available information by clearing the canClobber bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions