Be more accurate about live range splitting at the end of blocks.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Feb 2011 21:42:06 +0000 (21:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Feb 2011 21:42:06 +0000 (21:42 +0000)
commit63935420ef1c323b9d9276eadc0ab74ee86a25b5
treee5b8cf1b0113923eab4f5222d14f625f8f55b9b9
parent2d7a53aec2c6426eba9e5dd6462cc9e86432b410
Be more accurate about live range splitting at the end of blocks.

If interference reaches the last split point, it is effectively live out and
should be marked as 'MustSpill'.

This can make a difference when the terminator uses a register. There is no way
that register can be reused in the outgoing CFG bundle, even if it isn't live
out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124900 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocGreedy.cpp