[ARM] Add registers to debuginfo MIR test cases.
authorFlorian Hahn <florian.hahn@arm.com>
Sat, 5 Aug 2017 12:13:13 +0000 (12:13 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Sat, 5 Aug 2017 12:13:13 +0000 (12:13 +0000)
commit414d00139b4bd1852f62a600a3e6d4892eb5f81a
tree65aed167ee972a5488bdda86ecdffca6f401e665
parentf9308489eba74fa1688ed2978dda78cd8f6a4768
[ARM] Add registers to debuginfo MIR test cases.

Summary:
MIRParserImpl::computeFunctionProperties uses MRI.getNumVirtRegs() to
set the NoVReg property. By adding a bunch of registers to the MIR test
cases, the NoVReg property is not set when importing the MIR. Otherwise
NoVReg is set after instruction selection while the machine instructions
still contain virtual registers, causing expensive checks to fail.

Reviewers: efriedma, MatzeB, aprantl

Reviewed By: MatzeB, aprantl

Subscribers: aemerson, javed.absar, kristof.beyls, llvm-commits

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

llvm-svn: 310178
llvm/test/DebugInfo/MIR/ARM/split-superreg-complex.mir
llvm/test/DebugInfo/MIR/ARM/split-superreg-piece.mir
llvm/test/DebugInfo/MIR/ARM/split-superreg.mir