[Mlir-commits] [mlir] [MLIR] Fix build after #131492 (PR #135502)

Jan Patrick Lehr llvmlistbot at llvm.org
Sat Apr 12 14:14:33 PDT 2025


https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/135502

After #131492 is appears that linking MLIRAritDialect was missing.

>From 47dd9240fd1dddc85d127d9cc9c33832115eac7c Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Sat, 12 Apr 2025 16:13:11 -0500
Subject: [PATCH] [MLIR] Fix build after #131492

After #131492 is appears that linking MLIRAritDialect was missing.
---
 mlir/lib/Target/SMTLIB/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mlir/lib/Target/SMTLIB/CMakeLists.txt b/mlir/lib/Target/SMTLIB/CMakeLists.txt
index 1fd965551ae47..08e2533058a2f 100644
--- a/mlir/lib/Target/SMTLIB/CMakeLists.txt
+++ b/mlir/lib/Target/SMTLIB/CMakeLists.txt
@@ -10,4 +10,5 @@ add_mlir_translation_library(MLIRExportSMTLIB
   MLIRFuncDialect
   MLIRIR
   MLIRTranslateLib
+  MLIRArithDialect
 )



More information about the Mlir-commits mailing list