Skip to content

Commit c35e735

Browse files
skc7yuxuanchen1997
authored andcommitted
[AMDGPU] Move AMDGPUAsanInstrumentation outside of utils (#100323)
Summary: #98863 merged AMDGPUAsanInstrumentation module which missed TransformUtils to be linked to AMDGPUUtils. This PR moves AMDGPUAsanInstrumentation files outside utils folder and adds them to AMDGPUCodegen lib. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250608
1 parent 893204e commit c35e735

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/Utils/AMDGPUAsanInstrumentation.h renamed to llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPU_ASAN_INSTRUMENTATION_H
1111

1212
#include "AMDGPU.h"
13-
#include "AMDGPUBaseInfo.h"
14-
#include "AMDGPUMemoryUtils.h"
13+
#include "Utils/AMDGPUBaseInfo.h"
14+
#include "Utils/AMDGPUMemoryUtils.h"
1515
#include "llvm/ADT/SetOperations.h"
1616
#include "llvm/ADT/StringExtras.h"
1717
#include "llvm/ADT/StringMap.h"

llvm/lib/Target/AMDGPU/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ add_llvm_target(AMDGPUCodeGen
4646
AMDGPUAnnotateKernelFeatures.cpp
4747
AMDGPUAnnotateUniformValues.cpp
4848
AMDGPUArgumentUsageInfo.cpp
49+
AMDGPUAsanInstrumentation.cpp
4950
AMDGPUAsmPrinter.cpp
5051
AMDGPUAtomicOptimizer.cpp
5152
AMDGPUAttributor.cpp

llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
add_llvm_component_library(LLVMAMDGPUUtils
2-
AMDGPUAsanInstrumentation.cpp
32
AMDGPUAsmUtils.cpp
43
AMDGPUBaseInfo.cpp
54
AMDGPUDelayedMCExpr.cpp

0 commit comments

Comments
 (0)