[LLVMdev] Pass to remove unused functions
Micah.Villmow at amd.com
Tue May 5 15:48:23 PDT 2009
In order to handle a large vector based math library I link in a fairly
large bitcode file that might or might not be needed. The problem is
that linking in this bitcode file drastically increases the amount of
compile time required. Is there a way to remove all functions that are
not used after this linking pass? Something similar to die but removes
functions from the compilation unit instead of instructions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev