[Mlir-commits] [mlir] Fix build breakage (MLIR LLVM dialect requires MLIRInferIntRangeInterface) (PR #168440)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Nov 17 12:55:43 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-llvm
Author: Jeremy Furtek (jfurtek)
<details>
<summary>Changes</summary>
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`.
---
Full diff: https://github.com/llvm/llvm-project/pull/168440.diff
2 Files Affected:
- (modified) mlir/lib/Dialect/LLVMIR/CMakeLists.txt (+1)
- (modified) mlir/unittests/Dialect/LLVMIR/CMakeLists.txt (-1)
``````````diff
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
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/168440
More information about the Mlir-commits
mailing list