Skip to content

Commit e08f4b5

Browse files
[mlir][bazel] Remove defines of obsolete MLIR_GPU_TO_CUBIN_PASS_ENABLE.
This macro is obsolete since the landing of llvm#82486 but was forgotten to be removed from the BUILD files.
1 parent c4e9463 commit e08f4b5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5505,7 +5505,6 @@ cc_library(
55055505
),
55065506
hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
55075507
includes = ["include"],
5508-
local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
55095508
deps = [
55105509
":AffineDialect",
55115510
":AffineUtils",

utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
66
load("//llvm:lit_test.bzl", "package_path")
7-
load("//mlir:build_defs.bzl", "if_cuda_available")
87
load("//mlir:tblgen.bzl", "gentbl_cc_library", "td_library")
98

109
package(
@@ -667,9 +666,7 @@ cc_library(
667666
cc_library(
668667
name = "TestGPU",
669668
srcs = glob(["lib/Dialect/GPU/*.cpp"]),
670-
defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"] + if_cuda_available([
671-
"MLIR_GPU_TO_CUBIN_PASS_ENABLE",
672-
]),
669+
defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"],
673670
includes = ["lib/Dialect/Test"],
674671
deps = [
675672
"//llvm:NVPTXCodeGen",

0 commit comments

Comments
 (0)