[PATCH] D54850: [ARM][AsmParser] Improve debug printing of parsed asm operands

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 23 03:35:11 PST 2018


olista01 created this revision.
olista01 added reviewers: t.p.northover, rengolin.
Herald added subscribers: chrib, kristof.beyls, javed.absar.

In ARMOperand::print:

- Print human-readable register names, instead of numbers.
- Print the correct names for IT condition masks (these were in the wrong order before).
- Print all parts of memory operands, not just the base register.

This makes the output of llvm-mc -show-inst-operands more readable.


Repository:
  rL LLVM

https://reviews.llvm.org/D54850

Files:
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54850.175105.patch
Type: text/x-patch
Size: 4751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181123/88b85f1c/attachment.bin>


More information about the llvm-commits mailing list