SuccessChanges

Summary

  1. [mlir] Support repeated delayed registration of dialect interfaces (details)
Commit 34ea608a473a5c67263c49255551ea348ffc1700 by zinenko
[mlir] Support repeated delayed registration of dialect interfaces

Dialects themselves do not support repeated addition of interfaces with the
same TypeID. However, in case of delayed registration, the registry may contain
such an interface, or have the same interface registered several times due to,
e.g., dependencies. Make sure we delayed registration does not attempt to add
an interface with the same TypeID more than once.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D96606
The file was modifiedmlir/lib/IR/Dialect.cpp (diff)
The file was modifiedmlir/include/mlir/IR/Dialect.h (diff)
The file was modifiedmlir/unittests/IR/DialectTest.cpp (diff)