[all-commits] [llvm/llvm-project] d9cbef: [mlir] Extract DestinationStyleOpInterface from Li...
Adrian Kuegel via All-commits
all-commits at lists.llvm.org
Tue Aug 23 04:27:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9cbefc4c738dc976b6b20fb1eb82a55d78dd801
https://github.com/llvm/llvm-project/commit/d9cbefc4c738dc976b6b20fb1eb82a55d78dd801
Author: Adrian Kuegel <akuegel at google.com>
Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h
M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
Log Message:
-----------
[mlir] Extract DestinationStyleOpInterface from LinalgStructuredInterface.
There are several use cases where a destination style operation needs an interface
that contains a subset of the methods from LinalgStructuredInterface.
In this change, we move all such methods to a new interface, and add forwarding
methods to LinalgStructuredInterface to make the change the less invasive.
It may be possible to refactor the code later to get rid of (some or all) of the
forwarding methods.
This change also removes the cloneWithMapper interface methods, as it is not used anywhere.
RFC:
https://discourse.llvm.org/t/rfc-interface-for-destination-style-ops/64056
Differential Revision: https://reviews.llvm.org/D132125
More information about the All-commits
mailing list