[llvm] [bazel][mlir][Python] Port #159926: move PDLPatternMatch.h.inc (PR #160432)

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 23 20:09:53 PDT 2025


https://github.com/rupprecht updated https://github.com/llvm/llvm-project/pull/160432

>From 71402663cc947c13ed1778337f4607e16dfbdf79 Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Tue, 23 Sep 2025 19:42:46 -0700
Subject: [PATCH 1/2] [bazel][mlir][Python] Port #159926: move
 PDLPatternMatch.h.inc

---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 46ff0acb547d5..99e8a588e8cb4 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -367,7 +367,6 @@ cc_library(
         "include/mlir/Bytecode/*.h",
     ]) + [
         "include/mlir/IR/OpAsmOpInterface.h.inc",
-        "include/mlir/IR/PDLPatternMatch.h.inc",
         "include/mlir/Interfaces/DataLayoutInterfaces.h",
         "include/mlir/Interfaces/InferIntRangeInterface.h",
         "include/mlir/Interfaces/SideEffectInterfaces.h",
@@ -377,6 +376,7 @@ cc_library(
     ]) + [
         "include/mlir/Interfaces/CallInterfaces.h",
         "include/mlir/Interfaces/FoldInterfaces.h",
+        "include/mlir/IR/PDLPatternMatch.h.inc",
     ],
     includes = ["include"],
     deps = [

>From 649183344415fe4a5c40112644bbca7143fc07a7 Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Tue, 23 Sep 2025 20:09:39 -0700
Subject: [PATCH 2/2] reformat

---
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 99e8a588e8cb4..af4592de6c9ee 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -374,9 +374,9 @@ cc_library(
     hdrs = glob([
         "include/mlir/IR/*.h",
     ]) + [
+        "include/mlir/IR/PDLPatternMatch.h.inc",
         "include/mlir/Interfaces/CallInterfaces.h",
         "include/mlir/Interfaces/FoldInterfaces.h",
-        "include/mlir/IR/PDLPatternMatch.h.inc",
     ],
     includes = ["include"],
     deps = [



More information about the llvm-commits mailing list