[all-commits] [llvm/llvm-project] 934099: [mlir][tensor] Add pattern to rewrite tensor.gener...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Jun 9 03:56:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93409967061366660171b475db0dd84b8b7703c5
https://github.com/llvm/llvm-project/commit/93409967061366660171b475db0dd84b8b7703c5
Author: Matthias Springer <me at m-sp.org>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td
M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
M mlir/lib/Dialect/Tensor/TransformOps/TensorTransformOps.cpp
M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Tensor/Transforms/RewriteAsConstant.cpp
A mlir/test/Dialect/Tensor/rewrite-as-constant.mlir
Log Message:
-----------
[mlir][tensor] Add pattern to rewrite tensor.generate as a constant
Only ops with a static tensor type and a constant yield value are rewritten.
Differential Revision: https://reviews.llvm.org/D152511
More information about the All-commits
mailing list