[Mlir-commits] [mlir] Fix build breakage (MLIR LLVM dialect requires MLIRInferIntRangeInterface) (PR #168440)

Jeremy Furtek llvmlistbot at llvm.org
Mon Nov 17 12:55:09 PST 2025


https://github.com/jfurtek created https://github.com/llvm/llvm-project/pull/168440

This MR fixes a recent build breakage by this MR: https://github.com/llvm/llvm-project/pull/166648

(Post-merge build error here: https://lab.llvm.org/buildbot/#/builders/138/builds/21929)

The `MLIRInferIntRangeInterface` library is now a public dependency of `MLIRLLVMDialect`. 

>From 54b9617c340382e0738666a78b627cb4d2cb71eb Mon Sep 17 00:00:00 2001
From: Jeremy Furtek <jfurtek at nvidia.com>
Date: Mon, 17 Nov 2025 14:43:39 -0600
Subject: [PATCH] Add infer int range library to LLVM dialect

---
 mlir/lib/Dialect/LLVMIR/CMakeLists.txt       | 1 +
 mlir/unittests/Dialect/LLVMIR/CMakeLists.txt | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/lib/Dialect/LLVMIR/CMakeLists.txt b/mlir/lib/Dialect/LLVMIR/CMakeLists.txt
index cc66face1c002..a73f0c1278ec0 100644
--- a/mlir/lib/Dialect/LLVMIR/CMakeLists.txt
+++ b/mlir/lib/Dialect/LLVMIR/CMakeLists.txt
@@ -31,6 +31,7 @@ add_mlir_dialect_library(MLIRLLVMDialect
   MLIRControlFlowInterfaces
   MLIRDataLayoutInterfaces
   MLIRFunctionInterfaces
+  MLIRInferIntRangeInterface
   MLIRInferTypeOpInterface
   MLIRIR
   MLIRMemorySlotInterfaces
diff --git a/mlir/unittests/Dialect/LLVMIR/CMakeLists.txt b/mlir/unittests/Dialect/LLVMIR/CMakeLists.txt
index 568126fd342cc..7cc130d02ad74 100644
--- a/mlir/unittests/Dialect/LLVMIR/CMakeLists.txt
+++ b/mlir/unittests/Dialect/LLVMIR/CMakeLists.txt
@@ -4,5 +4,4 @@ add_mlir_unittest(MLIRLLVMIRTests
 mlir_target_link_libraries(MLIRLLVMIRTests
   PRIVATE
   MLIRLLVMDialect
-  MLIRInferIntRangeInterface
   )



More information about the Mlir-commits mailing list