diff options
author | Geoffrey Martin-Noble <gcmn@google.com> | 2021-02-18 15:37:15 -0800 |
---|---|---|
committer | Geoffrey Martin-Noble <gcmn@google.com> | 2021-02-22 11:13:26 -0800 |
commit | 2ce6a42cc94dbe1b0456ebc34c0db238bf5530d6 (patch) | |
tree | 0437c3786999014427b6c7b8c93d96cfb581395c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | ed4d12c2ce30e5a1c270e2b4a08e67851ff8b295 (diff) | |
download | llvm-2ce6a42cc94dbe1b0456ebc34c0db238bf5530d6.zip llvm-2ce6a42cc94dbe1b0456ebc34c0db238bf5530d6.tar.gz llvm-2ce6a42cc94dbe1b0456ebc34c0db238bf5530d6.tar.bz2 |
[MLIR] Add Linalg support for integer (generalized) matmuls
This patch adds Linalg named ops for various types of integer matmuls.
Due to limitations in the tc spec/linalg-ods-gen ops cannot be type
polymorphic, so this instead creates new ops (improvements to the
methods for defining Linalg named ops are underway with a prototype at
https://github.com/stellaraccident/mlir-linalgpy).
To avoid the necessity of directly referencing these many new ops, this
adds additional methods to ContractionOpInterface to allow classifying
types of operations based on their indexing maps.
Reviewed By: nicolasvasilache, mravishankar
Differential Revision: https://reviews.llvm.org/D97006
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions