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

Thomas Preud'homme llvmlistbot at llvm.org
Fri Mar 8 11:35:42 PST 2024


https://github.com/RoboTux created https://github.com/llvm/llvm-project/pull/84550

This fixes a failure when doing a clean build of
lib/libMLIRAMDGPUTransform.a only.


>From 38922036d0df3ca7bc5bf56c41498c70ad892be5 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: Fri, 8 Mar 2024 17:09:00 +0000
Subject: [PATCH] [MLIR] Add missing MLIRFuncDialect dep to
 MLIRAMDGPUTransforms

This fixes a failure when doing a clean build of
lib/libMLIRAMDGPUTransform.a only.
---
 mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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