[all-commits] [llvm/llvm-project] 9b5084: [mlir] Fix delayed object interfaces registration

Vladislav Vinogradov via All-commits all-commits at lists.llvm.org
Tue Aug 3 02:21:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b50844fd798b5a81afd4aeb44b053d622747a42
      https://github.com/llvm/llvm-project/commit/9b50844fd798b5a81afd4aeb44b053d622747a42
  Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    M mlir/include/mlir/IR/Dialect.h
    M mlir/lib/IR/Dialect.cpp
    M mlir/unittests/IR/InterfaceAttachmentTest.cpp

  Log Message:
  -----------
  [mlir] Fix delayed object interfaces registration

Store both interfaceID and objectID as key for interface registration callback.
Otherwise the implementation allows to register only one external model per one object in the single dialect.

Reviewed By: ftynse

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




More information about the All-commits mailing list