[all-commits] [llvm/llvm-project] ca6bd9: [mlir][ods] AttrOrTypeGen uses Class

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Dec 1 08:53:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca6bd9cd4320e675026c559cc3f8bf810a89d4ce
      https://github.com/llvm/llvm-project/commit/ca6bd9cd4320e675026c559cc3f8bf810a89d4ce
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

  Changed paths:
    M mlir/cmake/modules/AddMLIR.cmake
    M mlir/include/mlir/Support/IndentedOstream.h
    M mlir/include/mlir/TableGen/AttrOrTypeDef.h
    M mlir/include/mlir/TableGen/Class.h
    M mlir/include/mlir/TableGen/CodeGenHelpers.h
    M mlir/include/mlir/TableGen/Format.h
    M mlir/lib/Support/IndentedOstream.cpp
    M mlir/lib/TableGen/AttrOrTypeDef.cpp
    M mlir/lib/TableGen/Class.cpp
    M mlir/lib/TableGen/Format.cpp
    M mlir/test/mlir-tblgen/attr-or-type-format.td
    M mlir/test/mlir-tblgen/attrdefs.td
    M mlir/test/mlir-tblgen/default-type-attr-print-parser.td
    M mlir/test/mlir-tblgen/typedefs.td
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.h
    M mlir/tools/mlir-tblgen/CMakeLists.txt
    A mlir/tools/mlir-tblgen/OpClass.cpp
    A mlir/tools/mlir-tblgen/OpClass.h
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/OpDocGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp
    M mlir/tools/mlir-tblgen/RewriterGen.cpp
    M mlir/unittests/Support/IndentedOstreamTest.cpp

  Log Message:
  -----------
  [mlir][ods] AttrOrTypeGen uses Class

AttrOrType def generator uses `Class` code gen helper,
instead of naked raw_ostream.

Depends on D113714 and D114807

Reviewed By: rriddle

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




More information about the All-commits mailing list