Verify that one of the ranges produced by region splitting is allocatable.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Feb 2011 19:33:07 +0000 (19:33 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Feb 2011 19:33:07 +0000 (19:33 +0000)
commit9b3d24bf3d4663bfaf98eb97a94081e07a3f62da
tree148af9315dcde4a056195ddfd8cdbf0d77c97ca1
parentb412915ff6229b3e2dffedcfb0f3fb7e85259841
Verify that one of the ranges produced by region splitting is allocatable.

We should not be attempting a region split if it won't lead to at least one
directly allocatable interval. That could cause infinite splitting loops.

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