aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2023-01-12 13:35:15 -0800
committerRiver Riddle <riddleriver@gmail.com>2023-01-18 19:16:30 -0800
commit83a635c0d4759bd77bbbb21ff8d202cb8c3ea57b (patch)
treef112422f41b764dbe94b9c8e73e469542406ad84 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent5cdc2bbc7588e7b046ac5c7f79a84ef18978a83a (diff)
downloadllvm-83a635c0d4759bd77bbbb21ff8d202cb8c3ea57b.zip
llvm-83a635c0d4759bd77bbbb21ff8d202cb8c3ea57b.tar.gz
llvm-83a635c0d4759bd77bbbb21ff8d202cb8c3ea57b.tar.bz2
[mlir] Add support for interface inheritance
This allows for interfaces to define a set of "base classes", which are interfaces whose methods/extra class decls/etc. should be inherited by the derived interface. This more easily enables combining interfaces and their dependencies, without lots of awkard casting. Additional implicit conversion operators also greatly simplify the conversion process. One other aspect of this "inheritance" is that we also implicitly add the base interfaces to the attr/op/type. The user can still add them manually if desired, but this should help remove some of the boiler plate when an interface has dependencies. See https://discourse.llvm.org/t/interface-inheritance-and-dependencies-interface-method-visibility-interface-composition Differential Revision: https://reviews.llvm.org/D140198
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions