summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>2014-08-28 10:15:47 +0000
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>2014-08-28 10:15:47 +0000
commitefd4363172f7b9ae5b194533ec7c7645629c81bb (patch)
tree51e18d96f93d81fac76568e7be6d48d83b7585ae /llvm/lib
parent074052b62367fce87d66baf77804de7531eb0682 (diff)
downloadbcm5719-llvm-efd4363172f7b9ae5b194533ec7c7645629c81bb.tar.gz
bcm5719-llvm-efd4363172f7b9ae5b194533ec7c7645629c81bb.zip
[PBQP] Only output debug information when requested
llvm-svn: 216660
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAllocPBQP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp
index 80f129f46e8..7475f73308f 100644
--- a/llvm/lib/CodeGen/RegAllocPBQP.cpp
+++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp
@@ -354,8 +354,8 @@ PBQPRAProblem *PBQPBuilderWithCoalescing::build(MachineFunction *mf,
if (pregOpt < allowed.size()) {
++pregOpt; // +1 to account for spill option.
PBQPRAGraph::NodeId node = p->getNodeForVReg(src);
- llvm::dbgs() << "Reading node costs for node " << node << "\n";
- llvm::dbgs() << "Source node: " << &g.getNodeCosts(node) << "\n";
+ DEBUG(llvm::dbgs() << "Reading node costs for node " << node << "\n");
+ DEBUG(llvm::dbgs() << "Source node: " << &g.getNodeCosts(node) << "\n");
PBQP::Vector newCosts(g.getNodeCosts(node));
addPhysRegCoalesce(newCosts, pregOpt, cBenefit);
g.setNodeCosts(node, newCosts);
OpenPOWER on IntegriCloud