[Mlir-commits] [mlir] [MLIR] Add missing MLIRLLVMDialect dep to MLIRMathToLibm (PR #113563)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 24 06:03:07 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Thomas Preud'homme (RoboTux)
<details>
<summary>Changes</summary>
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRMathToLibm.a only:
```
In file included from llvm/include/llvm/IR/Module.h:22,
from mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h:37,
from mlir/lib/Conversion/MathToLibm/MathToLibm.cpp:13
llvm/include/llvm/IR/Attributes.h:90:14: fatal error: llvm/IR/Attributes.inc: No such file or directory
```
---
Full diff: https://github.com/llvm/llvm-project/pull/113563.diff
1 Files Affected:
- (modified) mlir/lib/Conversion/MathToLibm/CMakeLists.txt (+1)
``````````diff
diff --git a/mlir/lib/Conversion/MathToLibm/CMakeLists.txt b/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
index 61c46e9bfe250e..0a4eb97474f3ab 100644
--- a/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
+++ b/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
@@ -14,6 +14,7 @@ add_mlir_conversion_library(MLIRMathToLibm
MLIRArithDialect
MLIRDialectUtils
MLIRFuncDialect
+ MLIRLLVMDialect
MLIRMathDialect
MLIRPass
MLIRTransformUtils
``````````
</details>
https://github.com/llvm/llvm-project/pull/113563
More information about the Mlir-commits
mailing list