diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp index 60deb62bc908a..449033d632100 100644 --- a/llvm/lib/CodeGen/RegAllocBase.cpp +++ b/llvm/lib/CodeGen/RegAllocBase.cpp @@ -105,7 +105,7 @@ void RegAllocBase::allocatePhysRegs() { // result from splitting. LLVM_DEBUG(dbgs() << "\nselectOrSplit " << TRI->getRegClassName(MRI->getRegClass(VirtReg->reg())) - << ':' << *VirtReg << " w=" << VirtReg->weight() << '\n'); + << ':' << *VirtReg << '\n'); using VirtRegVec = SmallVector; diff --git a/llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp b/llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp index a1dccc4d59723..a1f441ebd0d5e 100644 --- a/llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp +++ b/llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp @@ -157,7 +157,7 @@ bool DefaultEvictionAdvisor::shouldEvict(const LiveInterval &A, bool IsHint, return true; if (A.weight() > B.weight()) { - LLVM_DEBUG(dbgs() << "should evict: " << B << " w= " << B.weight() << '\n'); + LLVM_DEBUG(dbgs() << "should evict: " << B << '\n'); return true; } return false;