[PBQP] Conservativelly allocatable nodes can be spilled and give a better solution
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Fri, 13 Feb 2015 12:04:42 +0000 (12:04 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Fri, 13 Feb 2015 12:04:42 +0000 (12:04 +0000)
commit116347e269b421f9ec197da75a796f940cdeb582
tree865a75910e4339c70807e01163caa5f65dac4691
parentacbbf932e98244a6150b76993cdedeacc3fb9527
[PBQP] Conservativelly allocatable nodes can be spilled and give a better solution

Although such nodes are allocatable, the cost of spilling may be less than
allocating to register, so spilling the node may provide a better solution.
The assert does not account for this case, so remove it for now.

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