[all-commits] [llvm/llvm-project] d7e891: [mlir] Enable delayed registration of attribute/op...

ftynse via All-commits all-commits at lists.llvm.org
Thu Jun 17 04:19:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7e891213444e2990397c623fb0250a470421fce
      https://github.com/llvm/llvm-project/commit/d7e891213444e2990397c623fb0250a470421fce
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M mlir/include/mlir/IR/AttributeSupport.h
    M mlir/include/mlir/IR/Dialect.h
    M mlir/include/mlir/IR/TypeSupport.h
    M mlir/include/mlir/Support/InterfaceSupport.h
    M mlir/lib/IR/Dialect.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/unittests/IR/InterfaceAttachmentTest.cpp

  Log Message:
  -----------
  [mlir] Enable delayed registration of attribute/operation/type interfaces

This functionality is similar to delayed registration of dialect interfaces. It
allows external interface models to be registered before the dialect containing
the attribute/operation/type interface is loaded, or even before the context is
created.

Reviewed By: rriddle

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




More information about the All-commits mailing list