[CodeGen] Move printing MO_CFIIndex operands to MachineOperand::print
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 19 Dec 2017 16:51:52 +0000 (16:51 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Tue, 19 Dec 2017 16:51:52 +0000 (16:51 +0000)
commit874ae6faa546cc76644f89072fb6848cc7cf882d
tree3303335980e433fd796fb2dee4e8a51f3a7b9963
parent6f648df1b940ac707ac05390c236015c92f5996f
[CodeGen] Move printing MO_CFIIndex operands to MachineOperand::print

Work towards the unification of MIR and debug output by refactoring the
interfaces.

Before this patch we printed "<call frame instruction>" in the debug
output.

llvm-svn: 321084
llvm/docs/MIRLangRef.rst
llvm/include/llvm/CodeGen/MachineOperand.h
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/lib/CodeGen/MachineOperand.cpp
llvm/unittests/CodeGen/MachineOperandTest.cpp