Skip to content

Commit 16dd901

Browse files
committed
[MLIR] Add missing MLIRLLVMDialect dep to MLIRControlFlowToSCF
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 ```
1 parent dd76d9b commit 16dd901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ add_mlir_conversion_library(MLIRControlFlowToSCF
1212
MLIRArithDialect
1313
MLIRControlFlowDialect
1414
MLIRFuncDialect
15+
MLIRLLVMDialect
1516
MLIRSCFDialect
1617
MLIRUBDialect
1718
MLIRPass

0 commit comments

Comments
 (0)