[PATCH] D22720: MachineVerifier: Fix printing nonsense for physical registers

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 20:20:46 PDT 2016


MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.

LGTM.


================
Comment at: lib/CodeGen/MachineVerifier.cpp:480
@@ -479,3 +479,3 @@
   report_context_liverange(LR);
-  errs() << "- register:    " << PrintReg(Reg, TRI) << '\n';
+  report_context_vreg_regunit(Reg);
   if (LaneMask != 0)
----------------
Could you rename that parameter from `Reg` to something like `VRegUnit`?


https://reviews.llvm.org/D22720





More information about the llvm-commits mailing list