[Mlir-commits] [mlir] [mlir][arith] Fix build after #114152 (part 2) (PR #116901)

Matthias Springer llvmlistbot at llvm.org
Tue Nov 19 17:11:51 PST 2024


https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/116901

Since #114152, `FuncDialect` no longer depends on `BufferizationDialect`. This commit adds a missing dependency that is no longer transitively included.


>From 7566f39544036cfeb9555ecc3b14c2d06157f61a Mon Sep 17 00:00:00 2001
From: Matthias Springer <mspringer at nvidia.com>
Date: Wed, 20 Nov 2024 02:09:32 +0100
Subject: [PATCH] [mlir][arith] Fix build after #114152 (part 2)

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

diff --git a/mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
index 912853871b7f8d..4c0dedf652e5ec 100644
--- a/mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
@@ -19,6 +19,7 @@ add_mlir_dialect_library(MLIRArithTransforms
   LINK_LIBS PUBLIC
   MLIRAnalysis
   MLIRArithDialect
+  MLIRBufferizationDialect
   MLIRFuncDialect
   MLIRFuncTransforms
   MLIRInferIntRangeInterface



More information about the Mlir-commits mailing list