Fix instruction numbering in debug output.

llvm-svn: 11655
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index ab40e6f..b24f6c8 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -704,7 +704,8 @@
             // ignore deleted instructions
             while (!li_->getInstructionFromIndex(index)) index += 2;
             mi = li_->getInstructionFromIndex(index);
-            DEBUG(std::cerr << "\t\t\t\texamining: \t\t\t\t\t" << index << '\t';
+            DEBUG(std::cerr << "\t\t\t\texamining: \t\t\t\t\t"
+                  << LiveIntervals::getBaseIndex(index) << '\t';
                   mi->print(std::cerr, *tm_));
 
             // if it is used in this instruction load it