[all-commits] [llvm/llvm-project] 23cdf7: [mlir] separable registration of operation interfaces
ftynse via All-commits
all-commits at lists.llvm.org
Thu Jun 17 03:00:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23cdf7b6ed9781040ef7923372247ce30b250f29
https://github.com/llvm/llvm-project/commit/23cdf7b6ed9781040ef7923372247ce30b250f29
Author: Alex Zinenko <zinenko at google.com>
Date: 2021-06-17 (Thu, 17 Jun 2021)
Changed paths:
M mlir/docs/Interfaces.md
M mlir/include/mlir/IR/OpDefinition.h
M mlir/include/mlir/IR/OperationSupport.h
M mlir/lib/IR/MLIRContext.cpp
M mlir/test/lib/Dialect/Test/TestInterfaces.td
M mlir/unittests/IR/InterfaceAttachmentTest.cpp
Log Message:
-----------
[mlir] separable registration of operation interfaces
This is similar to attribute and type interfaces and mostly the same mechanism
(FallbackModel / ExternalModel, ODS generation). There are minor differences in
how the concept-based polymorphism is implemented for operations that are
accounted for by ODS backends, and this essentially adds a test and exposes the
API.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D104294
More information about the All-commits
mailing list