blob: c42d6f817c5f0c9393efecf79b4b99851a0c6e43 [file] [log] [blame]
# Copyright 2023 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//build_tools/bazel:iree_lit_test.bzl", "iree_lit_test_suite")
load("//build_tools/bazel:enforce_glob.bzl", "enforce_glob")
package(
features = ["layering_check"],
licenses = ["notice"], # Apache 2.0
)
iree_lit_test_suite(
name = "lit",
srcs = enforce_glob(
[
"auto_input_conversion.mlir",
"convert_collectives.mlir",
"legalize_chlo_decomposition.mlir",
"legalize_chlo_no_broadcast.mlir",
"legalize_chlo_with_broadcast.mlir",
"legalize_control_flow.mlir",
"legalize_shape_computations.mlir",
"stablehlo_custom_calls.mlir",
"stablehlo_to_iree_input_dialects.mlir",
"stablehlo_to_linalg_convolution.mlir",
"stablehlo_to_linalg_dot_prod.mlir",
"stablehlo_to_linalg_ext.mlir",
"stablehlo_to_linalg_gather.mlir",
"stablehlo_to_linalg_pointwise.mlir",
"stablehlo_to_linalg_random.mlir",
"stablehlo_to_linalg_reduce.mlir",
"stablehlo_to_linalg.mlir",
"verify_compiler_input_legality.mlir",
],
include = ["*.mlir"],
),
cfg = "//compiler:lit.cfg.py",
tools = [
"//tools:iree-compile",
"//tools:iree-opt",
"@llvm-project//llvm:FileCheck",
],
)