[all-commits] [llvm/llvm-project] 31e2bb: [TableGen] Emit instruction name in INSTRINFO_OPER...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jun 20 13:16:04 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31e2bba155986b1416c70655c9f5f9e77c2abd46
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-06-20 (Mon, 20 Jun 2022)

  Changed paths:
    M llvm/test/TableGen/get-operand-type.td
    M llvm/utils/TableGen/InstrInfoEmitter.cpp

  Log Message:
  [TableGen] Emit instruction name in INSTRINFO_OPERAND_TYPE

Make Offsets and OpcodeOperandTypes tables human-readable by printing the
instruction name before the operand list.

In effect, this makes debugging generated `getOperandType` possible.

Reviewed By: craig.topper

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

More information about the All-commits mailing list