From 9438d1e3514ab8801e9c488d9723241af7f4dc91 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Mon, 10 Sep 2012 13:17:58 +0000 Subject: [PATCH] Stack Coloring: Debug prints to print the slot number and not the array index. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163509 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/StackColoring.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/StackColoring.cpp b/lib/CodeGen/StackColoring.cpp index 45c9af21bb2..10ebe5126e4 100644 --- a/lib/CodeGen/StackColoring.cpp +++ b/lib/CodeGen/StackColoring.cpp @@ -646,7 +646,8 @@ bool StackColoring::runOnMachineFunction(MachineFunction &Func) { First->MergeRangesInAsValue(*Second, First->getValNumInfo(0)); SlotRemap[SecondSlot] = FirstSlot; SortedSlots[J] = -1; - DEBUG(dbgs()<<"Merging #"<getObjectAlignment(FirstSlot), MFI->getObjectAlignment(SecondSlot));