Skip to content

Commit

Permalink
MachineVerifier: Fix printing nonsense for physical registers
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276677 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
arsenm committed Jul 25, 2016
1 parent 4791de8 commit 065de94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/CodeGen/MachineVerifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ namespace {
void report(const char *msg, const MachineOperand *MO, unsigned MONum);

void report_context(const LiveInterval &LI) const;
void report_context(const LiveRange &LR, unsigned Reg,
void report_context(const LiveRange &LR, unsigned VRegUnit,
LaneBitmask LaneMask) const;
void report_context(const LiveRange::Segment &S) const;
void report_context(const VNInfo &VNI) const;
Expand Down Expand Up @@ -474,10 +474,10 @@ void MachineVerifier::report_context(const LiveInterval &LI) const {
errs() << "- interval: " << LI << '\n';
}

void MachineVerifier::report_context(const LiveRange &LR, unsigned Reg,
void MachineVerifier::report_context(const LiveRange &LR, unsigned VRegUnit,
LaneBitmask LaneMask) const {
report_context_liverange(LR);
errs() << "- register: " << PrintReg(Reg, TRI) << '\n';
report_context_vreg_regunit(VRegUnit);
if (LaneMask != 0)
report_context_lanemask(LaneMask);
}
Expand Down

0 comments on commit 065de94

Please sign in to comment.