[all-commits] [llvm/llvm-project] 26d7b7: [TableGen] Add !getdagarg and !getdagname

darkbuck via All-commits all-commits at lists.llvm.org
Wed May 31 07:55:04 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26d7b7bb8ff982b6cdcd9bf7538405356135b724
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M llvm/docs/TableGen/ProgRef.rst
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGLexer.cpp
    M llvm/lib/TableGen/TGLexer.h
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/test/TableGen/getsetop.td

  Log Message:
  [TableGen] Add !getdagarg and !getdagname

- This patch proposes to add `!getdagarg` and `!getdagname` bang
  operators as the inverse operation of `!dag`. They allow us to examine
  arguments of a given dag.

Reviewed By: simon_tatham

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

More information about the All-commits mailing list