Create new intervals for isolated blocks during region splitting.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 12 Apr 2011 19:32:53 +0000 (19:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 12 Apr 2011 19:32:53 +0000 (19:32 +0000)
commitfd5c51342a429ecab86a645282d0b36b216c0256
treebd5a3578e22fd96cf4fd203bfb8a658db3566e4d
parent5d7dcd3335234d2a2bc16dc69f86fbb5dcaa8962
Create new intervals for isolated blocks during region splitting.

This merges the behavior of splitSingleBlocks into splitAroundRegion, so the
RS_Region and RS_Block register stages can be coalesced. That means the leftover
intervals after region splitting go directly to spilling instead of a second
pass of per-block splitting.

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