[Mlir-commits] [mlir] [MLIR][NFC] Add missing MLIRPass dep when DMLIR_ENABLE_PDL_IN_PATTERNMATCH=OFF used (PR #208289)
Max Graey
llvmlistbot at llvm.org
Wed Jul 8 11:49:03 PDT 2026
https://github.com/MaxGraey created https://github.com/llvm/llvm-project/pull/208289
When PDL deialed disbled during build stage (`DMLIR_ENABLE_PDL_IN_PATTERNMATCH=OFF`) I got a compiler errors due to some of pdl deps transitively includes `MLIRPass` but without PDL compilation is not possible so this patch fix this
>From 305536d74fdea7e0f0dd7d65ccb8fb27360f1d51 Mon Sep 17 00:00:00 2001
From: MaxGraey <maxgraey at gmail.com>
Date: Wed, 8 Jul 2026 21:45:26 +0300
Subject: [PATCH] add missing MLIRPass dep
---
mlir/lib/Transforms/Utils/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/mlir/lib/Transforms/Utils/CMakeLists.txt b/mlir/lib/Transforms/Utils/CMakeLists.txt
index 335c2cacd2a4a..3ecf3859a7f4c 100644
--- a/mlir/lib/Transforms/Utils/CMakeLists.txt
+++ b/mlir/lib/Transforms/Utils/CMakeLists.txt
@@ -24,4 +24,5 @@ add_mlir_library(MLIRTransformUtils
MLIRSideEffectInterfaces
MLIRSubsetOpInterface
MLIRRewrite
+ MLIRPass
)
More information about the Mlir-commits
mailing list