Keep track of the number of positively biased nodes when adding constraints.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 19:14:00 +0000 (19:14 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 19:14:00 +0000 (19:14 +0000)
commit70d4370b47cdd375bbea98e50452789fe4f1af04
treeadd9c7e773a47c8ff88ca8840dd657c7614db4da
parent9efa2a263ea470caacef1c85f6ca45e32bf516d3
Keep track of the number of positively biased nodes when adding constraints.

If there are no positive nodes, the algorithm can be aborted early.

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