Fix bug in SplitEditor::splitLiveThroughBlock when switching registers.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 23 Jul 2011 03:32:26 +0000 (03:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 23 Jul 2011 03:32:26 +0000 (03:32 +0000)
commitfe9b2d142a0feb87b06579509479957f25d7d0a4
tree5aa26dd2c71db11977bc673d8a7a4105b9ffa399
parentb4666364f4db4889883d7a6c02a177ebcde7c240
Fix bug in SplitEditor::splitLiveThroughBlock when switching registers.

If there is no interference and no last split point, we cannot
enterIntvBefore(Stop) - that function needs a real instruction.

Use enterIntvAtEnd instead for that very easy case.

This code doesn't currently run, it is needed by multi-way splitting.

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