aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <nicolas.vasilache@gmail.com>2021-02-04 16:49:09 +0000
committerNicolas Vasilache <nicolas.vasilache@gmail.com>2021-02-04 16:53:24 +0000
commite4a503a26d55bbb9c6589ceb7371ebad04b8a55e (patch)
tree9afd0cc5c58b56689d711742ee8b36f76643d671 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent727bd89b605b39659c793f338ce1e18dafc3581e (diff)
downloadllvm-e4a503a26d55bbb9c6589ceb7371ebad04b8a55e.zip
llvm-e4a503a26d55bbb9c6589ceb7371ebad04b8a55e.tar.gz
llvm-e4a503a26d55bbb9c6589ceb7371ebad04b8a55e.tar.bz2
[mlir][Linalg] Introduce a ContractionOpInterface
This revision takes advantage of recent extensions to vectorization to refactor contraction detection into a bona fide Linalg interface. The mlit-linalg-ods-gen parser is extended to support adding such interfaces. The detection that was originally enabling vectorization is refactored to serve as both a test on a generic LinalgOp as well as to verify ops that declare to conform to that interface. This is plugged through Linalg transforms and strategies but it quickly becomes evident that the complexity and rigidity of the C++ class based templating does not pay for itself. Therefore, this revision changes the API for vectorization patterns to get rid of templates as much as possible. Variadic templates are relegated to the internals of LinalgTransformationFilter as much as possible and away from the user-facing APIs. It is expected other patterns / transformations will follow the same path and drop as much C++ templating as possible from the class definition. Differential revision: https://reviews.llvm.org/D95973
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions