Skip to content

Commit

Permalink
[mlir][bazel] Remove defines of obsolete MLIR_GPU_TO_CUBIN_PASS_ENABL…
Browse files Browse the repository at this point in the history
…E. (#83006)

This macro is obsolete since the landing of #82486 but was forgotten to
be removed from the BUILD files.
  • Loading branch information
ingomueller-net authored Mar 4, 2024
1 parent 310a278 commit c6565f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5508,7 +5508,6 @@ cc_library(
),
hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
includes = ["include"],
local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
deps = [
":AffineDialect",
":AffineUtils",
Expand Down
4 changes: 0 additions & 4 deletions utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
load("//llvm:lit_test.bzl", "package_path")
load("//mlir:build_defs.bzl", "if_cuda_available")
load("//mlir:tblgen.bzl", "gentbl_cc_library", "td_library")

package(
Expand Down Expand Up @@ -663,9 +662,6 @@ cc_library(
cc_library(
name = "TestGPU",
srcs = glob(["lib/Dialect/GPU/*.cpp"]),
defines = if_cuda_available([
"MLIR_GPU_TO_CUBIN_PASS_ENABLE",
]),
includes = ["lib/Dialect/Test"],
deps = [
"//llvm:NVPTXCodeGen",
Expand Down

0 comments on commit c6565f2

Please sign in to comment.