[LLVMdev] Eliminating Unused Globals

David Greene dag at cray.com
Wed Oct 7 16:05:47 PDT 2009


Is there a pass or piece of code somewhere in LLVM that knows how to delete 
GlobalVariables that are never used?  And iterate to then delete
GlobalVariables that only were used (in their initializers) by GlobalVariables
previously deleted?

                             -Dave



More information about the llvm-dev mailing list