Skip to content

Commit

Permalink
[StableHLO][NFC] Split linalg lowering tests
Browse files Browse the repository at this point in the history
Factor out pointwise and dot prod op tests from the main test file.
This matches the source file organization of the conversion patterns.

Do not run with the 'enable-primitive-ops' option on tests that are not
affected by it.

Issue: iree-org#12678
  • Loading branch information
kuhar committed Apr 12, 2023
1 parent f1b71b1 commit 874bfb0
Show file tree
Hide file tree
Showing 5 changed files with 1,724 additions and 1,722 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ iree_lit_test_suite(
name = "lit",
srcs = enforce_glob(
[
"stablehlo_to_linalg_dot_prod.mlir",
"stablehlo_to_linalg_pointwise.mlir",
"stablehlo_to_linalg.mlir",
],
include = ["*.mlir"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ iree_lit_test_suite(
lit
SRCS
"stablehlo_to_linalg.mlir"
"stablehlo_to_linalg_dot_prod.mlir"
"stablehlo_to_linalg_pointwise.mlir"
TOOLS
FileCheck
iree-opt
Expand Down
Loading

0 comments on commit 874bfb0

Please sign in to comment.