[Mlir-commits] [mlir] [mlir][reducer] Fix the reduce undefined symbol problem (PR #189148)

lonely eagle llvmlistbot at llvm.org
Sat Mar 28 00:56:44 PDT 2026


https://github.com/linuxlonelyeagle created https://github.com/llvm/llvm-project/pull/189148

To fix the bot https://lab.llvm.org/buildbot/#/builders/138/builds/27662 build failed by Adding MLIRControlFlowDialect to MLIRReduce.

>From dabc34916c9e98aead1f8211c318380646224438 Mon Sep 17 00:00:00 2001
From: linuxlonelyeagle <2020382038 at qq.com>
Date: Sat, 28 Mar 2026 07:54:48 +0000
Subject: [PATCH] fix the reduce undefined symbol problem.

---
 mlir/lib/Reducer/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mlir/lib/Reducer/CMakeLists.txt b/mlir/lib/Reducer/CMakeLists.txt
index 68864e373c993..b18a4bca04fcb 100644
--- a/mlir/lib/Reducer/CMakeLists.txt
+++ b/mlir/lib/Reducer/CMakeLists.txt
@@ -9,6 +9,7 @@ add_mlir_library(MLIRReduce
    MLIRPass
    MLIRRewrite
    MLIRTransformUtils
+   MLIRControlFlowDialect
 
    DEPENDS
    MLIRReducerIncGen



More information about the Mlir-commits mailing list