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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/unittests/IR/DialectTest.cpp | ||
---|---|---|
120 | I don't see a "death test" on double addition of different implementation of the same interface, can you try to add one? |
I don't see a "death test" on double addition of different implementation of the same interface, can you try to add one?