From 8fc3d1187ce547f42a43ec6adb229c8d2423a6b1 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Thu, 7 Oct 2010 18:47:05 +0000 Subject: Print out MBB number when rewriting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115950 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SplitKit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/CodeGen') diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index 525ae3f..09f78d0 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/lib/CodeGen/SplitKit.cpp @@ -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. -- cgit v1.1