[LLVMdev] Pass to remove unused functions

Villmow, Micah 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.

 

Thanks,

Micah

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090505/a77ac08b/attachment.html>


More information about the llvm-dev mailing list