projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce line editor library.
[oota-llvm.git]
/
lib
/
CodeGen
/
RegAllocPBQP.cpp
diff --git
a/lib/CodeGen/RegAllocPBQP.cpp
b/lib/CodeGen/RegAllocPBQP.cpp
index 88c8201fd4b25242ac0fc2b0256b1b8ea2247eaf..483f2e1ae8609eeed6fca19e67e878bba0eeb3b8 100644
(file)
--- a/
lib/CodeGen/RegAllocPBQP.cpp
+++ b/
lib/CodeGen/RegAllocPBQP.cpp
@@
-348,8
+348,7
@@
PBQPRAProblem *PBQPBuilderWithCoalescing::build(MachineFunction *mf,
// value plucked randomly out of the air.
PBQP::PBQPNum cBenefit =
// value plucked randomly out of the air.
PBQP::PBQPNum cBenefit =
- copyFactor * LiveIntervals::getSpillWeight(false, true,
- mbfi->getBlockFreq(mbb));
+ copyFactor * LiveIntervals::getSpillWeight(false, true, mbfi, mi);
if (cp.isPhys()) {
if (!mf->getRegInfo().isAllocatable(dst)) {
if (cp.isPhys()) {
if (!mf->getRegInfo().isAllocatable(dst)) {