summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-16 05:55:30 +0000
committerChris Lattner <sabre@nondot.org>2006-05-16 05:55:30 +0000
commit52d0c78de80da17596ac9b81fa7c95c4669aed33 (patch)
treef089b75f1a43966aadb34aa4f02ed6b8acecd276 /llvm/lib/CodeGen/MachineFunction.cpp
parent5f0edfb849eca5a22693d5de9f24d200e5b905d5 (diff)
downloadbcm5719-llvm-52d0c78de80da17596ac9b81fa7c95c4669aed33.tar.gz
bcm5719-llvm-52d0c78de80da17596ac9b81fa7c95c4669aed33.zip
Print the vreg that livein physregs are live in
llvm-svn: 28314
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index f5df4e8f65f..b6d7fb94589 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";
}
OpenPOWER on IntegriCloud