[PBQP] Fix coalescing benefits
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Tue, 21 Oct 2014 16:24:15 +0000 (16:24 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Tue, 21 Oct 2014 16:24:15 +0000 (16:24 +0000)
commitd3648d0cbebfd7950329c793342ea8d12860e0fd
treef7f7f8d835bf7b33e675ea239ebe398f2e0053d5
parent9ff272f382bc6ac37f84e65ca0a9ffb27d115051
[PBQP] Fix coalescing benefits

As coalescing registers is a benefit, the cost should be improved (i.e. made smaller) when coalescing is possible.

llvm-svn: 220302
llvm/lib/CodeGen/RegAllocPBQP.cpp