blob: 78534bddd66be703bec4b1b5f8fcd7bfae049902 [file] [log] [blame]
# Copyright 2019 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(
default_visibility = ["//visibility:public"],
features = ["layering_check"],
licenses = ["notice"], # Apache 2.0
)
iree_lit_test_suite(
name = "lit",
srcs = enforce_glob(
[
"capture_dispatch_dynamic_dims.mlir",
"cleanup_numeric_narrowing.mlir",
"conv1x1_to_matmul.mlir",
"conv2d_to_img2col.mlir",
"convert_linalg_tensor_ops_after.mlir",
"convert_linalg_tensor_ops_before.mlir",
"deduplicate_executables.mlir",
"dispatch_linalg_on_tensors.mlir",
"dispatch_linalg_on_tensors_elementwise.mlir",
"dispatch_linalg_on_tensors_fusion.mlir",
"export_benchmark_funcs.mlir",
"infer_numeric_narrowing.mlir",
"inject_dispatch_tracing.mlir",
"interchange_generic_ops.mlir",
"matmul_to_mmt4d.mlir",
"optimize_numerics.mlir",
"outline_dispatch_regions.mlir",
"pad_linalg_ops.mlir",
"pad_tensor_to_tensor.mlir",
"strip_and_splat_constant_variables.mlir",
"strip_signedness.mlir",
"test_partitionable_loops_interface.mlir",
"transformation.mlir",
"verify_input_ir.mlir",
],
include = ["*.mlir"],
),
tools = [
"//iree/tools:iree-opt",
"@llvm-project//llvm:FileCheck",
],
)