Skip to content

Commit 8114830

Browse files
hanhanWweidel-p
authored andcommitted
[DT][NFC] Add test files for materializing IREE ops with encodings. (iree-org#22322)
The revision moves tests that exercise IREE core ops to `materialize_encoding_for_iree_ops.mlir`. It adds another test for GPU case, which ensures that swizzling is handled in the lowering. Furthermore, it adapts two copied tests to move inputs and outputs to function signature. Therefore, there are changes in VMVX and x86_64 tests. It is a step towards iree-org#20825 --------- Signed-off-by: hanhanW <[email protected]> Signed-off-by: Philipp <[email protected]>
1 parent ca4c5c5 commit 8114830

File tree

5 files changed

+500
-250
lines changed

5 files changed

+500
-250
lines changed

compiler/src/iree/compiler/Codegen/Common/test/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ iree_lit_test_suite(
7575
"lower_ukernel_to_calls.mlir",
7676
"lowering_config_interpreter.mlir",
7777
"materialize_encoding_aarch64.mlir",
78+
"materialize_encoding_for_iree_ops.mlir",
7879
"materialize_encoding_gfx1100.mlir",
7980
"materialize_encoding_gfx908.mlir",
8081
"materialize_encoding_gfx90a.mlir",

compiler/src/iree/compiler/Codegen/Common/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ iree_lit_test_suite(
7171
"lower_ukernel_to_calls.mlir"
7272
"lowering_config_interpreter.mlir"
7373
"materialize_encoding_aarch64.mlir"
74+
"materialize_encoding_for_iree_ops.mlir"
7475
"materialize_encoding_gfx1100.mlir"
7576
"materialize_encoding_gfx908.mlir"
7677
"materialize_encoding_gfx90a.mlir"

0 commit comments

Comments
 (0)