Abort the constraint calculation early when all positive bias is lost.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 21:32:38 +0000 (21:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 21:32:38 +0000 (21:32 +0000)
commit1b400e840f58489c7950f815780cf08917cecaa8
tree58fed93ac6c86f86f13b55f3807ece18c7891cfc
parentb0923771c90070d91d685a20f2e774754365a27c
Abort the constraint calculation early when all positive bias is lost.

Without any positive bias, there is nothing for the spill placer to to. It will
spill everywhere.

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