[llvm] [AMDGPU] Move AMDGPUAsanInstrumentation outside of utils (PR #100323)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 02:27:20 PDT 2024
https://github.com/skc7 updated https://github.com/llvm/llvm-project/pull/100323
>From 092dadb139fded38b5a550d8993d0696b0b7647b 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] Move AMDGPUAsanInstrumentation outside of utils.
---
.../Target/AMDGPU/{Utils => }/AMDGPUAsanInstrumentation.cpp | 0
.../lib/Target/AMDGPU/{Utils => }/AMDGPUAsanInstrumentation.h | 4 ++--
llvm/lib/Target/AMDGPU/CMakeLists.txt | 1 +
llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt | 1 -
4 files changed, 3 insertions(+), 3 deletions(-)
rename llvm/lib/Target/AMDGPU/{Utils => }/AMDGPUAsanInstrumentation.cpp (100%)
rename llvm/lib/Target/AMDGPU/{Utils => }/AMDGPUAsanInstrumentation.h (96%)
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUAsanInstrumentation.cpp b/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp
similarity index 100%
rename from llvm/lib/Target/AMDGPU/Utils/AMDGPUAsanInstrumentation.cpp
rename to llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUAsanInstrumentation.h b/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h
similarity index 96%
rename from llvm/lib/Target/AMDGPU/Utils/AMDGPUAsanInstrumentation.h
rename to llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h
index b438004aa6ce7..64d78c4aeb692 100644
--- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUAsanInstrumentation.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h
@@ -10,8 +10,8 @@
#define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPU_ASAN_INSTRUMENTATION_H
#include "AMDGPU.h"
-#include "AMDGPUBaseInfo.h"
-#include "AMDGPUMemoryUtils.h"
+#include "Utils/AMDGPUBaseInfo.h"
+#include "Utils/AMDGPUMemoryUtils.h"
#include "llvm/ADT/SetOperations.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
diff --git a/llvm/lib/Target/AMDGPU/CMakeLists.txt b/llvm/lib/Target/AMDGPU/CMakeLists.txt
index c992352cb78da..671caf8484cd9 100644
--- a/llvm/lib/Target/AMDGPU/CMakeLists.txt
+++ b/llvm/lib/Target/AMDGPU/CMakeLists.txt
@@ -46,6 +46,7 @@ add_llvm_target(AMDGPUCodeGen
AMDGPUAnnotateKernelFeatures.cpp
AMDGPUAnnotateUniformValues.cpp
AMDGPUArgumentUsageInfo.cpp
+ AMDGPUAsanInstrumentation.cpp
AMDGPUAsmPrinter.cpp
AMDGPUAtomicOptimizer.cpp
AMDGPUAttributor.cpp
diff --git a/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt b/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
index 4d69fb67db860..09b8da9f5dd48 100644
--- a/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
+++ b/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
@@ -1,5 +1,4 @@
add_llvm_component_library(LLVMAMDGPUUtils
- AMDGPUAsanInstrumentation.cpp
AMDGPUAsmUtils.cpp
AMDGPUBaseInfo.cpp
AMDGPUDelayedMCExpr.cpp
More information about the llvm-commits
mailing list