blob: 843befaac8ca53600792585736f98f7c38f2d473 [file] [log] [blame]
# Copyright 2024 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
# Tests for common transforms.
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(
[
"annotate_kernel_for_translation.mlir",
"config_tile_and_fuse.mlir",
"config_vector_distribute_gfx1100.mlir",
"config_vector_distribute_gfx940.mlir",
"config_user_vector_distribute.mlir",
"lowering_scalar_dispatch.mlir",
"pipeline_tile_and_fuse.mlir",
"pipeline_vector_distribute_gfx940.mlir",
"pipeline_vector_distribute_gfx1100.mlir",
"pipeline_warp_reduction.mlir",
],
include = ["*.mlir"],
),
cfg = "//compiler:lit.cfg.py",
tools = [
"//tools:iree-opt",
"@llvm-project//llvm:FileCheck",
],
)