[PATCH] D40965: [CodeGen] Move printing MO_Immediate operands to MachineOperand::print
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 09:17:13 PST 2017
thegameg created this revision.
Work towards the unification of MIR and debug output by refactoring the interfaces.
Add support for operand subreg index as an immediate to debug printing and use ::print in the MIRPrinter.
No tests were affected as all the `%subreg.` tests were all checking MIR output.
https://reviews.llvm.org/D40965
Files:
docs/MIRLangRef.rst
include/llvm/CodeGen/MachineOperand.h
lib/CodeGen/MIRPrinter.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/MachineOperand.cpp
unittests/CodeGen/MachineOperandTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40965.125978.patch
Type: text/x-patch
Size: 8685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171207/25c42d4a/attachment.bin>
More information about the llvm-commits
mailing list