OSDN Git Service

[MachineVerifier] Include offending register in allocatable live-in error msg.
authorFlorian Hahn <flo@fhahn.com>
Tue, 8 Jan 2019 15:16:23 +0000 (15:16 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 8 Jan 2019 15:16:23 +0000 (15:16 +0000)
commit55534df34f24a311d23bf5d3053c72018c371787
treea85d008a66d55a67db28e12ce4a52a2daa550049
parent1f67e9ecacae79b1d993a7c687b3c8abe6a00250
[MachineVerifier] Include offending register in allocatable live-in error msg.

This patch adds a convenience report() method for physical registers and
uses it to print the offending register with the 'MBB has allocatable
live-in' error.

Reviewers: MatzeB, rtereshin, dsanders

Reviewed By: dsanders

Differential Revision: https://reviews.llvm.org/D55946

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350630 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp