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

Fehr Mathieu via All-commits all-commits at lists.llvm.org
Wed Mar 2 12:43:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbe9f0914fcfd8444fd9656821af0f1a34a27e7a
      https://github.com/llvm/llvm-project/commit/dbe9f0914fcfd8444fd9656821af0f1a34a27e7a
  Author: Mathieu Fehr <mathieu.fehr at gmail.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    A mlir/docs/ExtensibleDialects.md
    M mlir/include/mlir/IR/AttributeSupport.h
    M mlir/include/mlir/IR/Dialect.h
    A mlir/include/mlir/IR/ExtensibleDialect.h
    M mlir/include/mlir/IR/OpBase.td
    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

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.

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




More information about the All-commits mailing list