Add a safe-guard against repeated splitting for some rare cases.
commit9f4b893b84d9c2b56aa2abc3c96ce1e5ccc465e5
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 26 Apr 2011 22:33:12 +0000 (26 22:33 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 26 Apr 2011 22:33:12 +0000 (26 22:33 +0000)
treec5bf2921106ae502b478c1373c07131d93d855c1
parentd5c7f7cb5e15a7382cd163cb191db898510226c8
Add a safe-guard against repeated splitting for some rare cases.

The number of blocks covered by a live range must be strictly decreasing when
splitting, otherwise we can't allow repeated splitting.

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