From 52d0c78de80da17596ac9b81fa7c95c4669aed33 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 May 2006 05:55:30 +0000 Subject: Print the vreg that livein physregs are live in llvm-svn: 28314 --- llvm/lib/CodeGen/MachineFunction.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/CodeGen/MachineFunction.cpp') diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index f5df4e8..b6d7fb9 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -152,6 +152,9 @@ void MachineFunction::print(std::ostream &OS) const { OS << " " << MRI->getName(I->first); else OS << " Reg #" << I->first; + + if (I->second) + OS << " in VR#" << I->second << " "; } OS << "\n"; } -- cgit v1.1