[all-commits] [llvm/llvm-project] 9e0b55: [mlir] Add extensible dialects

Fehr Mathieu via All-commits all-commits at lists.llvm.org
Tue Apr 26 19:58:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e0b5533594e168285d4d5f9b682bdbbdc149d7a
      https://github.com/llvm/llvm-project/commit/9e0b5533594e168285d4d5f9b682bdbbdc149d7a
  Author: Mathieu Fehr <mathieu.fehr at gmail.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    A mlir/docs/ExtensibleDialects.md
    M mlir/include/mlir/IR/AttributeSupport.h
    M mlir/include/mlir/IR/Dialect.h
    M mlir/include/mlir/IR/DialectBase.td
    A mlir/include/mlir/IR/ExtensibleDialect.h
    M mlir/include/mlir/IR/TypeSupport.h
    M mlir/include/mlir/TableGen/Dialect.h
    M mlir/lib/IR/CMakeLists.txt
    A mlir/lib/IR/ExtensibleDialect.cpp
    M mlir/lib/TableGen/Dialect.cpp
    A mlir/test/IR/dynamic.mlir
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.h
    M mlir/test/lib/Dialect/Test/TestDialect.td
    M mlir/test/lib/Dialect/Test/TestTypes.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
    M mlir/tools/mlir-tblgen/DialectGen.cpp

  Log Message:
  -----------
  [mlir] Add extensible dialects

Depends on D104534
Add support for extensible dialects, which are dialects that can be
extended at runtime with new operations and types.

These operations and types cannot at the moment implement traits
or interfaces.

Reviewed By: rriddle

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




More information about the All-commits mailing list