[llvm] [AMDGPU] Link TransformUtils lib to AMDGPUUtils. (PR #100323)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 01:19:21 PDT 2024
https://github.com/skc7 created https://github.com/llvm/llvm-project/pull/100323
#98863 merged AMDGPUAsanInstrumentation module which missed TransformUtils to be linked to AMDGPUUtils.
This PR links the lib and fixes linking errors like "undefined reference to `llvm::SplitBlockAndInsertIfThen".
>From bcb0f17ac36c0de8e107ecf8aeb91bfa71c8fdce Mon Sep 17 00:00:00 2001
From: skc7 <Krishna.Sankisa at amd.com>
Date: Wed, 24 Jul 2024 13:44:04 +0530
Subject: [PATCH] [AMDGPU] Link TransformUtils lib to AMDGPUUtils.
---
llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt b/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
index 4d69fb67db860..241c84de4fdf0 100644
--- a/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
+++ b/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
@@ -16,6 +16,7 @@ add_llvm_component_library(LLVMAMDGPUUtils
MCParser
Support
TargetParser
+ TransformUtils
ADD_TO_COMPONENT
AMDGPU
More information about the llvm-commits
mailing list