[Mlir-commits] [mlir] 22ac5f7 - [MLIR] Add missing MLIRFuncDialect dep to MLIRMemRefToLLVM (#84546)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Mar 19 17:25:40 PDT 2024


Author: Thomas Preud'homme
Date: 2024-03-19T17:25:37-07:00
New Revision: 22ac5f743811ae1e5004fdd43be556ebbd0496d1

URL: https://github.com/llvm/llvm-project/commit/22ac5f743811ae1e5004fdd43be556ebbd0496d1
DIFF: https://github.com/llvm/llvm-project/commit/22ac5f743811ae1e5004fdd43be556ebbd0496d1.diff

LOG: [MLIR] Add missing MLIRFuncDialect dep to MLIRMemRefToLLVM (#84546)

This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRMemRefToLLVM.a only:
```
In file included from mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.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/MemRefToLLVM/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/MemRefToLLVM/CMakeLists.txt b/mlir/lib/Conversion/MemRefToLLVM/CMakeLists.txt
index 1400618c93e850..f0d95f5ada290e 100644
--- a/mlir/lib/Conversion/MemRefToLLVM/CMakeLists.txt
+++ b/mlir/lib/Conversion/MemRefToLLVM/CMakeLists.txt
@@ -14,6 +14,7 @@ add_mlir_conversion_library(MLIRMemRefToLLVM
   LINK_LIBS PUBLIC
   MLIRAnalysis
   MLIRDataLayoutInterfaces
+  MLIRFuncDialect
   MLIRLLVMCommonConversion
   MLIRMemRefDialect
   MLIRMemRefUtils


        


More information about the Mlir-commits mailing list