[llvm] [mlir][bazel] Fix build issues caused by #157711 (PR #157838)
Karlo Basioli via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 04:50:33 PDT 2025
https://github.com/basioli-k updated https://github.com/llvm/llvm-project/pull/157838
>From 15730239bc7aa442816c83d6ff4d06c84c10786e Mon Sep 17 00:00:00 2001
From: basioli-k <k.basioli at gmail.com>
Date: Wed, 10 Sep 2025 11:48:05 +0000
Subject: [PATCH] [mlir][bazel] Fix build issues caused by #157711
---
.../llvm-project-overlay/mlir/BUILD.bazel | 35 -------------------
.../mlir/test/BUILD.bazel | 2 --
2 files changed, 37 deletions(-)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 0743bb507dcb8..e556d65dba002 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -1374,13 +1374,6 @@ td_library(
deps = [":OpBaseTdFiles"],
)
-td_library(
- name = "CopyOpInterfaceTdFiles",
- srcs = ["include/mlir/Interfaces/CopyOpInterface.td"],
- includes = ["include"],
- deps = [":OpBaseTdFiles"],
-)
-
td_library(
name = "DerivedAttributeOpInterfaceTdFiles",
srcs = ["include/mlir/Interfaces/DerivedAttributeOpInterface.td"],
@@ -4406,17 +4399,6 @@ cc_library(
],
)
-cc_library(
- name = "CopyOpInterface",
- srcs = ["lib/Interfaces/CopyOpInterface.cpp"],
- hdrs = ["include/mlir/Interfaces/CopyOpInterface.h"],
- includes = ["include"],
- deps = [
- ":CopyOpInterfaceIncGen",
- ":IR",
- ],
-)
-
td_library(
name = "ShapeOpsTdFiles",
srcs = [
@@ -7680,17 +7662,6 @@ gentbl_cc_library(
deps = [":ViewLikeInterfaceTdFiles"],
)
-gentbl_cc_library(
- name = "CopyOpInterfaceIncGen",
- tbl_outs = {
- "include/mlir/Interfaces/CopyOpInterface.h.inc": ["-gen-op-interface-decls"],
- "include/mlir/Interfaces/CopyOpInterface.cpp.inc": ["-gen-op-interface-defs"],
- },
- tblgen = ":mlir-tblgen",
- td_file = "include/mlir/Interfaces/CopyOpInterface.td",
- deps = [":CopyOpInterfaceTdFiles"],
-)
-
gentbl_cc_library(
name = "TransformsPassIncGen",
tbl_outs = {
@@ -10561,7 +10532,6 @@ td_library(
],
includes = ["include"],
deps = [
- ":CopyOpInterfaceTdFiles",
":DestinationStyleOpInterface",
":LinalgOpsTdFiles",
":OpBaseTdFiles",
@@ -10784,7 +10754,6 @@ cc_library(
":BytecodeOpInterface",
":ComplexDialect",
":ControlFlowInterfaces",
- ":CopyOpInterface",
":DestinationStyleOpInterface",
":DialectUtils",
":FunctionInterfaces",
@@ -12595,7 +12564,6 @@ td_library(
":ArithOpsTdFiles",
":CastInterfacesTdFiles",
":ControlFlowInterfacesTdFiles",
- ":CopyOpInterfaceTdFiles",
":MemorySlotInterfacesTdFiles",
":OpBaseTdFiles",
":ShapedOpInterfacesTdFiles",
@@ -12657,7 +12625,6 @@ cc_library(
":ControlFlowInterfaces",
":ConvertToEmitCInterface",
":ConvertToLLVMInterface",
- ":CopyOpInterface",
":DialectUtils",
":IR",
":InferIntRangeCommon",
@@ -13063,7 +13030,6 @@ td_library(
":BufferViewFlowOpInterfaceTdFiles",
":BufferizableOpInterfaceTdFiles",
":BufferizationTypeInterfacesTdFiles",
- ":CopyOpInterfaceTdFiles",
":DestinationStyleOpInterfaceTdFiles",
":InferTypeOpInterfaceTdFiles",
":OpBaseTdFiles",
@@ -13252,7 +13218,6 @@ cc_library(
":BufferizationTypeInterfacesIncGen",
":BytecodeOpInterface",
":ControlFlowInterfaces",
- ":CopyOpInterface",
":DestinationStyleOpInterface",
":FuncDialect",
":FunctionInterfaces",
diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
index 0100e5d0669df..e17cdb28286a2 100644
--- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -119,7 +119,6 @@ td_library(
"//mlir:BuiltinDialectTdFiles",
"//mlir:CallInterfacesTdFiles",
"//mlir:ControlFlowInterfacesTdFiles",
- "//mlir:CopyOpInterfaceTdFiles",
"//mlir:DLTIDialectTdFiles",
"//mlir:DataLayoutInterfacesTdFiles",
"//mlir:DestinationStyleOpInterfaceTdFiles",
@@ -385,7 +384,6 @@ cc_library(
"//mlir:CallOpInterfaces",
"//mlir:CommonFolders",
"//mlir:ControlFlowInterfaces",
- "//mlir:CopyOpInterface",
"//mlir:DLTIDialect",
"//mlir:DataLayoutInterfaces",
"//mlir:DerivedAttributeOpInterface",
More information about the llvm-commits
mailing list