Skip to content

Commit

Permalink
Drop unmaintained transform dialect tests
Browse files Browse the repository at this point in the history
The tests in `tests/transform_dialect` have been unmaintained (and
mostly disabled) for a while. Most of the tests were misplaced anyway,
mixing lit tests in with e2e tests, and much of the relevant
functionality is now tested upstream or has evolved into different lit
tests in Codegen.

This drops the entire `cuda` directory, and drops all `cpu` tests except
one which is testing a transform dialect library call, which is still
a relevant e2e test.
  • Loading branch information
qedawkins committed Jul 10, 2024
1 parent e794ce8 commit a7d2f55
Show file tree
Hide file tree
Showing 36 changed files with 0 additions and 2,318 deletions.
8 changes: 0 additions & 8 deletions tests/transform_dialect/cpu/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@ package(
iree_lit_test_suite(
name = "lit",
srcs = [
"contraction-packing.mlir",
"contraction-packing-and-dispatch.mlir",
# DISABLED: incorrectly assuming default flag values.
# "eltwise_reduction_eltwise.mlir",
"fold_tensor_slice_into_transfer.mlir",
# DISABLED: incorrectly assuming default flag values.
# "matmul.mlir",
"matmul_library_call.mlir",
],
cfg = "//tests:lit.cfg.py",
# transform dialect spec files are MLIR files that specify a transformation,
# they need to be included as data.
data = [
"matmul_codegen_default_spec.mlir",
"transform_library.mlir",
],
tags = [
Expand Down
4 changes: 0 additions & 4 deletions tests/transform_dialect/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ iree_lit_test_suite(
NAME
lit
SRCS
"contraction-packing-and-dispatch.mlir"
"contraction-packing.mlir"
"fold_tensor_slice_into_transfer.mlir"
"matmul_library_call.mlir"
TOOLS
${IREE_LLD_TARGET}
Expand All @@ -26,7 +23,6 @@ iree_lit_test_suite(
iree-opt
iree-run-module
DATA
matmul_codegen_default_spec.mlir
transform_library.mlir
LABELS
"hostonly"
Expand Down
59 changes: 0 additions & 59 deletions tests/transform_dialect/cpu/contraction-packing-and-dispatch.mlir

This file was deleted.

153 changes: 0 additions & 153 deletions tests/transform_dialect/cpu/contraction-packing.mlir

This file was deleted.

71 changes: 0 additions & 71 deletions tests/transform_dialect/cpu/eltwise_reduction_eltwise.mlir

This file was deleted.

Loading

0 comments on commit a7d2f55

Please sign in to comment.