[Mlir-commits] [mlir] [MLIR] Add missing MLIRLLVMDialect dep to MLIRControlFlowToSCF (PR #113560)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 24 06:01:48 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/libMLIRControlFlowToSCF.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/ControlFlowToSCF/ControlFlowToSCF.cpp:19
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/113560.diff
1 Files Affected:
- (modified) mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt (+1)
``````````diff
diff --git a/mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt b/mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
index e2f1677b1d0695..9a3f2dfc3799fd 100644
--- a/mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
+++ b/mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
@@ -12,6 +12,7 @@ add_mlir_conversion_library(MLIRControlFlowToSCF
MLIRArithDialect
MLIRControlFlowDialect
MLIRFuncDialect
+ MLIRLLVMDialect
MLIRSCFDialect
MLIRUBDialect
MLIRPass
``````````
</details>
https://github.com/llvm/llvm-project/pull/113560
More information about the Mlir-commits
mailing list