[Mlir-commits] [mlir] 9688a6d - [MLIR] Add missing MLIRFuncDialect dep to MLIRNVVMToLLVM (#84548)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Mar 11 16:07:52 PDT 2024
Author: Thomas Preud'homme
Date: 2024-03-11T23:07:49Z
New Revision: 9688a6dae4de16e79ba677846df32099ec012627
URL: https://github.com/llvm/llvm-project/commit/9688a6dae4de16e79ba677846df32099ec012627
DIFF: https://github.com/llvm/llvm-project/commit/9688a6dae4de16e79ba677846df32099ec012627.diff
LOG: [MLIR] Add missing MLIRFuncDialect dep to MLIRNVVMToLLVM (#84548)
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRNVVMToLLVM.a only:
```
In file included from mlir/lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp:18:
mlir/include/mlir/Dialect/Func/IR/FuncOps.h:29:10: fatal error: mlir/Dialect/Func/IR/FuncOps.h.inc: No such file or directory
```
Added:
Modified:
mlir/lib/Conversion/NVVMToLLVM/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/NVVMToLLVM/CMakeLists.txt b/mlir/lib/Conversion/NVVMToLLVM/CMakeLists.txt
index 2afff1a4e5f169..23174d11287199 100644
--- a/mlir/lib/Conversion/NVVMToLLVM/CMakeLists.txt
+++ b/mlir/lib/Conversion/NVVMToLLVM/CMakeLists.txt
@@ -11,6 +11,7 @@ add_mlir_conversion_library(MLIRNVVMToLLVM
Core
LINK_LIBS PUBLIC
+ MLIRFuncDialect
MLIRGPUDialect
MLIRLLVMCommonConversion
MLIRLLVMDialect
More information about the Mlir-commits
mailing list