[llvm] fd7f6d6 - [IPO] Remove unused declaration RemoveUnusedGlobalValue

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 20:49:43 PDT 2023


Author: Kazu Hirata
Date: 2023-05-17T20:49:31-07:00
New Revision: fd7f6d66090b29ebd283d9ae1dfacf0e604817f1

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

LOG: [IPO] Remove unused declaration RemoveUnusedGlobalValue

The corresponding function definition was removed by:

  commit 9071393c18e5264e3bbf3ca3f3584fa5f45be6c2
  Author: Jay Foad <jay.foad at amd.com>
  Date:   Thu Feb 17 14:17:36 2022 +0000

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/IPO/GlobalDCE.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/IPO/GlobalDCE.h b/llvm/include/llvm/Transforms/IPO/GlobalDCE.h
index a24196efb83b..1c012445cbf8 100644
--- a/llvm/include/llvm/Transforms/IPO/GlobalDCE.h
+++ b/llvm/include/llvm/Transforms/IPO/GlobalDCE.h
@@ -61,7 +61,6 @@ class GlobalDCEPass : public PassInfoMixin<GlobalDCEPass> {
   void UpdateGVDependencies(GlobalValue &GV);
   void MarkLive(GlobalValue &GV,
                 SmallVectorImpl<GlobalValue *> *Updates = nullptr);
-  bool RemoveUnusedGlobalValue(GlobalValue &GV);
 
   // Dead virtual function elimination.
   void AddVirtualFunctionDependencies(Module &M);


        


More information about the llvm-commits mailing list