blob: 988c92ddc26da2be2131991a73d1d78bab55bdbe [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:enforce_glob.bzl", "enforce_glob")
load("//build_tools/bazel:iree_lit_test.bzl", "iree_lit_test_suite")
package(
features = ["layering_check"],
licenses = ["notice"], # Apache 2.0
)
iree_lit_test_suite(
name = "lit",
srcs = enforce_glob(
[
"canonicalization.mlir",
"canonicalize_dot_general.mlir",
"complex_lowering.mlir",
"dot_general_to_dot.mlir",
"einsum_to_dot_general.mlir",
"flatten_tuples_in_cfg.mlir",
"flatten_tuples_in_scf.mlir",
"gather_to_torch_index_select.mlir",
"stablehlo_to_stablehlo.mlir",
"unfuse_batch_norm.mlir",
],
include = ["*.mlir"],
),
cfg = "//compiler:lit.cfg.py",
tools = [
"//tools:iree-opt",
"@llvm-project//llvm:FileCheck",
],
)