[llvm] [mlir] Fix bazel after 077a796. (PR #160533)
    Bart Chrzaszcz via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Sep 24 07:14:03 PDT 2025
    
    
  
https://github.com/bartchr808 updated https://github.com/llvm/llvm-project/pull/160533
>From 3276be0e6ff35aa05357d28e4c33e03149db5914 Mon Sep 17 00:00:00 2001
From: Bart Chrzaszcz <bartchr at google.com>
Date: Wed, 24 Sep 2025 15:07:24 +0100
Subject: [PATCH] [mlir] Fix bazel after 077a796.
---
 .../llvm-project-overlay/mlir/BUILD.bazel     | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index af4592de6c9ee..fcd83380e62fb 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -12622,6 +12622,15 @@ cc_library(
     ],
 )
 
+td_library(
+    name = "MemOpInterfacesTdFiles",
+    srcs = ["include/mlir/Interfaces/MemOpInterfaces.td"],
+    includes = ["include"],
+    deps = [
+        ":OpBaseTdFiles",
+    ],
+)
+
 td_library(
     name = "MemRefOpsTdFiles",
     srcs = [
@@ -12633,6 +12642,7 @@ td_library(
         ":ArithOpsTdFiles",
         ":CastInterfacesTdFiles",
         ":ControlFlowInterfacesTdFiles",
+        ":MemOpInterfacesTdFiles",
         ":MemorySlotInterfacesTdFiles",
         ":OpBaseTdFiles",
         ":ShapedOpInterfacesTdFiles",
@@ -12641,6 +12651,17 @@ td_library(
     ],
 )
 
+gentbl_cc_library(
+    name = "MemOpInterfacesIncGen",
+    tbl_outs = {
+        "include/mlir/Interfaces/MemOpInterfaces.h.inc": ["-gen-op-interface-decls"],
+        "include/mlir/Interfaces/MemOpInterfaces.cpp.inc": ["-gen-op-interface-defs"],
+    },
+    tblgen = ":mlir-tblgen",
+    td_file = "include/mlir/Interfaces/MemOpInterfaces.td",
+    deps = [":MemOpInterfacesTdFiles"],
+)
+
 gentbl_cc_library(
     name = "MemRefBaseIncGen",
     tbl_outs = {
@@ -12671,6 +12692,19 @@ gentbl_cc_library(
     ],
 )
 
+cc_library(
+    name = "MemOpInterfaces",
+    srcs = ["lib/Interfaces/MemOpInterfaces.cpp"],
+    hdrs = ["include/mlir/Interfaces/MemOpInterfaces.h"],
+    includes = ["include"],
+    deps = [
+        ":DialectUtils",
+        ":IR",
+        ":Support",
+        ":MemOpInterfacesIncGen",
+    ],
+)
+
 cc_library(
     name = "MemRefDialect",
     srcs = glob(
@@ -12700,6 +12734,7 @@ cc_library(
         ":InferIntRangeInterface",
         ":InferTypeOpInterface",
         ":InliningUtils",
+        ":MemOpInterfaces",
         ":MemRefBaseIncGen",
         ":MemRefOpsIncGen",
         ":MemorySlotInterfaces",
    
    
More information about the llvm-commits
mailing list