[Mlir-commits] [mlir] 36cf982 - [MLIR] Add missing MLIRFuncDialect dep to MLIRAMDGPUTransforms (#84550)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Mar 11 16:08:59 PDT 2024


Author: Thomas Preud'homme
Date: 2024-03-11T23:08:56Z
New Revision: 36cf982d6cddaa65da24fcb853295a99a9154a53

URL: https://github.com/llvm/llvm-project/commit/36cf982d6cddaa65da24fcb853295a99a9154a53
DIFF: https://github.com/llvm/llvm-project/commit/36cf982d6cddaa65da24fcb853295a99a9154a53.diff

LOG: [MLIR] Add missing MLIRFuncDialect dep to MLIRAMDGPUTransforms (#84550)

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

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt b/mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt
index 2274656e84a5c1..a955d585b9a1dc 100644
--- a/mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt
@@ -14,6 +14,7 @@ add_mlir_dialect_library(MLIRAMDGPUTransforms
   MLIRAMDGPUUtils
   MLIRArithDialect
   MLIRControlFlowDialect
+  MLIRFuncDialect
   MLIRIR
   MLIRPass
   MLIRTransforms


        


More information about the Mlir-commits mailing list