[all-commits] [llvm/llvm-project] 6dd959: [mlir] Add a shape function library op
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Sat Nov 28 15:58:16 PST 2020
Branch: refs/heads/temp-test-main
Home: https://github.com/llvm/llvm-project
Commit: 6dd9596b19d7679c562f8e866be6d0c3d7c21994
https://github.com/llvm/llvm-project/commit/6dd9596b19d7679c562f8e866be6d0c3d7c21994
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2020-11-28 (Sat, 28 Nov 2020)
Changed paths:
M mlir/include/mlir/Dialect/Shape/IR/Shape.h
M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
M mlir/lib/Dialect/Shape/IR/Shape.cpp
A mlir/test/Analysis/test-shape-fn-report.mlir
M mlir/test/lib/Dialect/CMakeLists.txt
A mlir/test/lib/Dialect/Shape/CMakeLists.txt
A mlir/test/lib/Dialect/Shape/TestShapeFunctions.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/tools/mlir-opt/CMakeLists.txt
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir] Add a shape function library op
Op with mapping from ops to corresponding shape functions for those op
in the library and mechanism to associate shape functions to functions.
The mapping of operand to shape function is kept separate from the shape
functions themselves as the operation is associated to the shape
function and not vice versa, and one could have a common library of
shape functions that can be used in different contexts.
Use fully qualified names and require a name for shape fn lib ops for
now and an explicit print/parse (based around the generated one & GPU
module op ones).
Differential Revision: https://reviews.llvm.org/D91672
More information about the All-commits
mailing list