Print out MBB number when rewriting.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 7 Oct 2010 18:47:05 +0000 (18:47 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 7 Oct 2010 18:47:05 +0000 (18:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115950 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SplitKit.cpp

index 525ae3f04ac72af326f9b82a8e95257a4c1032c5..09f78d08260f37253841533b81acf61a9edfc91f 100644 (file)
@@ -852,7 +852,8 @@ void SplitEditor::rewrite() {
       }
     }
     MO.setReg(LI->reg);
-    DEBUG(dbgs() << "  rewrite " << Idx << '\t' << *MI);
+    DEBUG(dbgs() << "  rewrite BB#" << MI->getParent()->getNumber() << '\t'
+                 << Idx << '\t' << *MI);
   }
 
   // dupli_ goes in last, after rewriting.