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

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jun 20 12:24:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cd416193cc126355a22b2c9e5c1df3a49b59e50
      https://github.com/llvm/llvm-project/commit/4cd416193cc126355a22b2c9e5c1df3a49b59e50
  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