[llvm] [mlir][bazel] Fix for 513cdb82223a106f183b49a40d9acb1f7efbbe7e. (PR #85617)

Christian Sigg via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 02:31:29 PDT 2024


https://github.com/chsigg created https://github.com/llvm/llvm-project/pull/85617

Follow-up from https://github.com/llvm/llvm-project/pull/85604, this change also fixes the ArithDialect target.

>From 8be4751fecd525adfb800e5b31c57233ad2d70f1 Mon Sep 17 00:00:00 2001
From: Christian Sigg <csigg at google.com>
Date: Mon, 18 Mar 2024 10:22:43 +0100
Subject: [PATCH] [mlir][bazel] Fix for
 513cdb82223a106f183b49a40d9acb1f7efbbe7e.

Follow-up from https://github.com/llvm/llvm-project/pull/85604, this change also fixes the ArithDialect target.
---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 733fb27af60d98..176b06fcf263e9 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -12620,10 +12620,13 @@ gentbl_cc_library(
 cc_library(
     name = "ArithDialect",
     srcs = [
+        "include/mlir/Interfaces/ValueBoundsOpInterface.h",
         "lib/Dialect/Arith/IR/ArithDialect.cpp",
         "lib/Dialect/Arith/IR/ArithOps.cpp",
         "lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp",
-    ],
+    ] + glob([
+        "include/mlir/Analysis/**/*.h",
+    ]),
     hdrs = [
         "include/mlir/Dialect/Arith/IR/Arith.h",
     ],
@@ -12636,14 +12639,18 @@ cc_library(
         ":BufferizationInterfaces",
         ":CastInterfaces",
         ":CommonFolders",
+        ":ControlFlowInterfaces",
         ":ConvertToLLVMInterface",
+        ":DestinationStyleOpInterface",
         ":IR",
         ":InferIntRangeCommon",
         ":InferIntRangeInterface",
         ":InferTypeOpInterface",
         ":InliningUtils",
+        ":Pass",
         ":Support",
         ":UBDialect",
+        ":ValueBoundsOpInterfaceIncGen",
         ":VectorInterfaces",
         "//llvm:Support",
     ],



More information about the llvm-commits mailing list