[PATCH] D22720: MachineVerifier: Fix printing nonsense for physical registers
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 22 20:18:52 PDT 2016
arsenm created this revision.
arsenm added a reviewer: MatzeB.
arsenm added a subscriber: llvm-commits.
https://reviews.llvm.org/D22720
Files:
lib/CodeGen/MachineVerifier.cpp
Index: lib/CodeGen/MachineVerifier.cpp
===================================================================
--- lib/CodeGen/MachineVerifier.cpp
+++ lib/CodeGen/MachineVerifier.cpp
@@ -477,7 +477,7 @@
void MachineVerifier::report_context(const LiveRange &LR, unsigned Reg,
LaneBitmask LaneMask) const {
report_context_liverange(LR);
- errs() << "- register: " << PrintReg(Reg, TRI) << '\n';
+ report_context_vreg_regunit(Reg);
if (LaneMask != 0)
report_context_lanemask(LaneMask);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22720.65211.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160723/aec90d72/attachment.bin>
More information about the llvm-commits
mailing list