[llvm] More BUILD.bazel fixes for commit 205c532. (PR #130784)

Bart Chrzaszcz via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 11 08:35:32 PDT 2025


https://github.com/bartchr808 updated https://github.com/llvm/llvm-project/pull/130784

>From c2ef6df392827365a77733018c32070048ee0537 Mon Sep 17 00:00:00 2001
From: Bart Chrzaszcz <bartchr at google.com>
Date: Tue, 11 Mar 2025 15:08:06 +0000
Subject: [PATCH] More fixes for 205c532.

---
 .../bazel/llvm-project-overlay/mlir/test/BUILD.bazel | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
index 8f0c789e40c45..9d11d8a375272 100644
--- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -606,7 +606,7 @@ cc_library(
 
 td_library(
     name = "TestTransformOpsTdFiles",
-    srcs = glob(["mlir/test/lib/Transforms/*.td"]),
+    srcs = glob(["lib/Transforms/*.td"]),
     deps = [
         ":TransformDialectTdFiles",
         "//mlir:OpBaseTdFiles",
@@ -622,12 +622,12 @@ gentbl_cc_library(
     strip_include_prefix = "lib",
     tbl_outs = [
         (
-            ["-x=cpp"],
-            "lib/TestTransformsOps.h.inc",
+            ["-gen-op-defs"],
+            "lib/Transforms/TestTransformsOps.h.inc",
         ),
     ],
-    tblgen = "//mlir:mlir-pdll",
-    td_file = "lib/Transforms/TestTransformsOps.pdll",
+    tblgen = "//mlir:mlir-tblgen",
+    td_file = "lib/Transforms/TestTransformsOps.td",
     deps = [
         ":TestTransformOpsTdFiles",
     ],
@@ -661,7 +661,7 @@ cc_library(
         "//mlir:TransformUtils",
         "//mlir:Transforms",
         "//mlir:TransformDialect",
-        "//mlir::TransformDialectInterfaces",
+        "//mlir:TransformDialectInterfaces",
     ],
 )
 



More information about the llvm-commits mailing list