[all-commits] [llvm/llvm-project] 7f7647: [mlir][tblgen] Add support for extraClassDefinitio...

Jeff Niu via All-commits all-commits at lists.llvm.org
Tue Jul 19 09:13:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f76471ee896b39eca64ebff87cdbd6bed3fc85a
      https://github.com/llvm/llvm-project/commit/7f76471ee896b39eca64ebff87cdbd6bed3fc85a
  Author: bhatuzdaname <bhatuzdaname at gmail.com>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M mlir/docs/AttributesAndTypes.md
    M mlir/include/mlir/IR/AttrTypeBase.td
    M mlir/include/mlir/TableGen/AttrOrTypeDef.h
    M mlir/include/mlir/TableGen/Class.h
    M mlir/lib/TableGen/AttrOrTypeDef.cpp
    M mlir/test/mlir-tblgen/attrdefs.td
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp

  Log Message:
  -----------
  [mlir][tblgen] Add support for extraClassDefinition in AttrDef

For AttrDef declarations, place specified code in extraClassDefinition into the generated *.cpp.inc file.

Reviewed By: Mogball, rriddle

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




More information about the All-commits mailing list