From e9c80bc2f876e5410815f3d5d4489337280a2bb8 Mon Sep 17 00:00:00 2001 From: "Arnaud A. de Grandmaison" Date: Thu, 28 Aug 2014 10:15:47 +0000 Subject: [PATCH] [PBQP] Only output debug information when requested git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216660 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocPBQP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 80f129f46e8..7475f73308f 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/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); -- 2.34.1