diff options
| author | Bill Wendling <isanbard@gmail.com> | 2010-05-24 23:16:04 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2010-05-24 23:16:04 +0000 |
| commit | 0b7488e8d51a08e7bf7ae3db3367f6f3a7fbe965 (patch) | |
| tree | 6ee777a90518e84ef32363baf9bcbf02164c77fc /llvm/lib/CodeGen | |
| parent | fdb25de17e8d00674e1c61ae97b5d87bb8836b8e (diff) | |
| download | bcm5719-llvm-0b7488e8d51a08e7bf7ae3db3367f6f3a7fbe965.tar.gz bcm5719-llvm-0b7488e8d51a08e7bf7ae3db3367f6f3a7fbe965.zip | |
Print out the name of the function during SSC.
llvm-svn: 104572
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/StackSlotColoring.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp index 3643dfb3603..13d608692ad 100644 --- a/llvm/lib/CodeGen/StackSlotColoring.cpp +++ b/llvm/lib/CodeGen/StackSlotColoring.cpp @@ -699,7 +699,11 @@ bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) { bool StackSlotColoring::runOnMachineFunction(MachineFunction &MF) { - DEBUG(dbgs() << "********** Stack Slot Coloring **********\n"); + DEBUG({ + dbgs() << "********** Stack Slot Coloring **********\n" + << "********** Function: " + << MF.getFunction()->getName() << '\n'; + }); MFI = MF.getFrameInfo(); MRI = &MF.getRegInfo(); |

