diff options
author | Roman Tereshin <rtereshin@apple.com> | 2018-05-07 22:31:12 +0000 |
---|---|---|
committer | Roman Tereshin <rtereshin@apple.com> | 2018-05-07 22:31:12 +0000 |
commit | f487edae49368e1fb620a3597c61deef4275aa86 (patch) | |
tree | 2a31d538f7aa5de387d5567e3e7eb54d3f23a298 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | a6cede6d8ee2ad78710e248463c346c6ec5e72ec (diff) | |
download | bcm5719-llvm-f487edae49368e1fb620a3597c61deef4275aa86.tar.gz bcm5719-llvm-f487edae49368e1fb620a3597c61deef4275aa86.zip |
[MachineVerifier][GlobalISel] NFC, Improving MO printing and refactoring visitMachineInstrBefore
This is an NFC pre-commit for the following "Checking that generic
instrs have LLTs on all vregs" commit.
This overloads MachineOperand::print to make it possible to print LLTs
with standalone machine operands.
This also overloads MachineVerifier::print(...MachineOperand...) with
an optional LLT using the newly introduced MachineOperand::print
variant; no actual calls added.
This also refactors MachineVerifier::visitMachineInstrBefore in the
parts dealing with all generic instructions (checking Selected
property, LLTs, and phys regs).
llvm-svn: 331693
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions