aboutsummaryrefslogtreecommitdiff
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
commit4e92027837136233db0fc1c1a4fa2bc456d74de3 (patch)
tree65b9d245bbf18d2966a8de635accf6b93595875c
parente2e41730ccfa9bebfabbd17ab3454aa2bb620b2a (diff)
Print the vreg that livein physregs are live in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28314 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/MachineFunction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp
index f5df4e8f65..b6d7fb9458 100644
--- a/lib/CodeGen/MachineFunction.cpp
+++ b/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";
}