Skip to content

Commit

Permalink
Drop unmaintained transform dialect tests (iree-org#17858)
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 authored and saienduri committed Jul 12, 2024
1 parent 91d2a7d commit bf04445
Show file tree
Hide file tree
Showing 36 changed files with 0 additions and 2,322 deletions.
10 changes: 0 additions & 10 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 All @@ -38,9 +30,7 @@ iree_lit_test_suite(
"noubsan",
],
tools = [
"//tools:iree-benchmark-module",
"//tools:iree-compile",
"//tools:iree-opt",
"//tools:iree-run-module",
"@llvm-project//lld",
"@llvm-project//llvm:FileCheck",
Expand Down
6 changes: 0 additions & 6 deletions tests/transform_dialect/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ 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}
FileCheck
iree-benchmark-module
iree-compile
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 bf04445

Please sign in to comment.