Add debug output.
[oota-llvm.git] / lib / CodeGen / RegAllocGreedy.cpp
index 6feae4790d0a5ee5741579416b026b9399cee4d0..c1d8272dc509cbed54af80a40ceed9cfeaf0f702 100644 (file)
@@ -1265,6 +1265,7 @@ unsigned RAGreedy::selectOrSplit(LiveInterval &VirtReg,
   // Wait until the second time, when all smaller ranges have been allocated.
   // This gives a better picture of the interference to split around.
   if (Stage == RS_Original) {
+    DEBUG(dbgs() << "wait for second round\n");
     NewVRegs.push_back(&VirtReg);
     return 0;
   }