Proof of concept. The registered patterns infrastructure can be used to reduce the amount of boilerplate code in TestTensorTransforms.cpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D152000
[mlir][tensor][transform][WIP] Run test cases via registered patterns AbandonedPublic Authored by springerm on Jun 2 2023, 8:01 AM.
Details
Summary Proof of concept. The registered patterns infrastructure can be used to reduce the amount of boilerplate code in TestTensorTransforms.cpp.
Diff Detail
Revision Contents
Diff 527863 mlir/include/mlir/Dialect/Transform/IR/TransformOps.h
mlir/lib/Dialect/Tensor/TransformOps/TensorTransformOps.cpp
mlir/test/Dialect/Tensor/drop-redundant-insert-slice-rank-expansion.mlir
mlir/test/Dialect/Tensor/fold-consecutive-insert-extract-slice.mlir
mlir/test/Dialect/Tensor/fold-empty-op.mlir
mlir/test/Dialect/Tensor/fold-into-pack-and-unpack.mlir
mlir/test/Dialect/Tensor/fold-reassociative-reshapes.mlir
mlir/test/Dialect/Tensor/simplify-tensor-pack.mlir
mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp
mlir/test/lib/Dialect/Transform/CMakeLists.txt
mlir/test/lib/Dialect/Transform/TestRegisteredPatterns.cpp
mlir/tools/mlir-opt/mlir-opt.cpp
utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
|