[all-commits] [llvm/llvm-project] 9813c1: [mlir] NFC: use !transform.any_op in relevant tests
ftynse via All-commits
all-commits at lists.llvm.org
Mon May 22 01:20:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9813c184f76666af78da44b13191ace68d8fca27
https://github.com/llvm/llvm-project/commit/9813c184f76666af78da44b13191ace68d8fca27
Author: Alex Zinenko <zinenko at google.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/test/Dialect/SCF/transform-op-coalesce.mlir
M mlir/test/Dialect/SCF/transform-ops-invalid.mlir
M mlir/test/Dialect/SCF/transform-ops.mlir
M mlir/test/Dialect/Vector/vector-broadcast-lowering-transforms.mlir
M mlir/test/Dialect/Vector/vector-contract-matvec-transforms.mlir
M mlir/test/Dialect/Vector/vector-contract-to-dot-transforms.mlir
M mlir/test/Dialect/Vector/vector-contract-to-matrix-intrinsics-transforms.mlir
M mlir/test/Dialect/Vector/vector-contract-to-outerproduct-transforms.mlir
M mlir/test/Dialect/Vector/vector-contract-to-parallel-arith-transforms.mlir
M mlir/test/Dialect/Vector/vector-mask-lowering-transforms.mlir
M mlir/test/Dialect/Vector/vector-multi-reduction-lowering.mlir
M mlir/test/Dialect/Vector/vector-multi-reduction-outer-lowering.mlir
M mlir/test/Dialect/Vector/vector-outerproduct-lowering-transforms.mlir
M mlir/test/Dialect/Vector/vector-shape-cast-lowering-transforms.mlir
M mlir/test/Dialect/Vector/vector-transfer-drop-unit-dims-patterns.mlir
M mlir/test/Dialect/Vector/vector-transfer-full-partial-split-copy-transform.mlir
M mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir
M mlir/test/Dialect/Vector/vector-transfer-to-vector-load-store.mlir
M mlir/test/Dialect/Vector/vector-transpose-lowering.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-nwc-wcf-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-nhwc-hwcf-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-ndhwc-dhwcf-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir
M mlir/test/python/dialects/transform.py
Log Message:
-----------
[mlir] NFC: use !transform.any_op in relevant tests
Update various tests using Transform dialect extensions to pervasively
use `!transform.any_op` instead of `!pdl.operation`. Tests are sometimes
used as source of knowledge for best practices and these were doing the
opposite of what is considered best practices per
https://discourse.llvm.org/t/rfc-type-system-for-the-transform-dialect/65702.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D150785
Commit: 46af120e159c18b5530738ce396a12b545063f3d
https://github.com/llvm/llvm-project/commit/46af120e159c18b5530738ce396a12b545063f3d
Author: Alex Zinenko <zinenko at google.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M mlir/test/Dialect/Transform/check-use-after-free.mlir
M mlir/test/Dialect/Transform/expensive-checks.mlir
M mlir/test/Dialect/Transform/multi-arg-top-level-params.mlir
M mlir/test/Dialect/Transform/ops-invalid.mlir
M mlir/test/Dialect/Transform/ops.mlir
M mlir/test/Dialect/Transform/test-dialect-injection.mlir
M mlir/test/Dialect/Transform/test-interpreter.mlir
M mlir/test/Dialect/Transform/transform-state-extension.mlir
M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.td
Log Message:
-----------
[mlir] don't hardcode PDL_Operation in TestTransformDialectExtensions
Update operations in Transform dialect extensions used for testing to
use the more generic `TransformHandleTypeInterface` type constraint
instead of hardcoding `PDL_Operation`. See
https://discourse.llvm.org/t/rfc-type-system-for-the-transform-dialect/65702
for motivation. This is particularly important as these tests are often
used as source of best practices.
Update tests to use `!transform.any_op` instead of `!pdl.operation`.
Depends On D150785
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D150786
Compare: https://github.com/llvm/llvm-project/compare/5a61920ed8b3...46af120e159c
More information about the All-commits
mailing list