[llvm] ef1abbe - [NVPTX] Remove extraneous initializeNVVMReflectLegacyPassPass declaration (#135825)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 08:02:38 PDT 2025


Author: Yonah Goldberg
Date: 2025-04-16T08:02:34-07:00
New Revision: ef1abbe32e66c16118ded6dd9f7b1a55dea8c2b6

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

LOG: [NVPTX] Remove extraneous initializeNVVMReflectLegacyPassPass declaration (#135825)

This was already declared in NVPTX.h and I accidentally added it back in
#134416.

Added: 
    

Modified: 
    llvm/lib/Target/NVPTX/NVVMReflect.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/NVPTX/NVVMReflect.cpp b/llvm/lib/Target/NVPTX/NVVMReflect.cpp
index 7273b30e4ae2e..30b522efa4361 100644
--- a/llvm/lib/Target/NVPTX/NVVMReflect.cpp
+++ b/llvm/lib/Target/NVPTX/NVVMReflect.cpp
@@ -52,10 +52,6 @@ using namespace llvm;
 
 #define DEBUG_TYPE "nvvm-reflect"
 
-namespace llvm {
-void initializeNVVMReflectLegacyPassPass(PassRegistry &);
-} // namespace llvm
-
 namespace {
 class NVVMReflect {
   // Map from reflect function call arguments to the value to replace the call


        


More information about the llvm-commits mailing list