[llvm] ab8b10b - [Transforms] Remove unused declaration createGVExtractionPass

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 10 21:52:59 PDT 2023


Author: Kazu Hirata
Date: 2023-06-10T21:52:47-07:00
New Revision: ab8b10bb55db4b7dedb1ec01b1fb0e02bbeba568

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

LOG: [Transforms] Remove unused declaration createGVExtractionPass

The corresponding function definition was removed by:

  commit 2118b9d39b91e93c0146611235072cd6ca0f27b1
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   Tue Dec 20 12:55:05 2022 -0800

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h
index da2143625dc7f..704d09b5f3d85 100644
--- a/llvm/include/llvm/Transforms/IPO.h
+++ b/llvm/include/llvm/Transforms/IPO.h
@@ -27,16 +27,6 @@ class BasicBlock;
 class GlobalValue;
 class raw_ostream;
 
-//===----------------------------------------------------------------------===//
-/// createGVExtractionPass - If deleteFn is true, this pass deletes
-/// the specified global values. Otherwise, it deletes as much of the module as
-/// possible, except for the global values specified. If keepConstInit is true,
-/// the initializers of global constants are not deleted even if they are
-/// unused.
-///
-ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
-                                  deleteFn = false, bool keepConstInit = false);
-
 //===----------------------------------------------------------------------===//
 /// createDeadArgEliminationPass - This pass removes arguments from functions
 /// which are not used by the body of the function.


        


More information about the llvm-commits mailing list