[LLVMdev] Pass to remove unused functions
llvm at assumetheposition.nl
Wed May 6 12:54:30 PDT 2009
Chris Lattner wrote:
> On May 6, 2009, at 10:53 AM, Villmow, Micah wrote:
>> Yeah, I found that out, which is why I was hoping some kind of
>> attribute existed that the compiler knew about.
>> We might go the path of modifying llvm-link to only link in functions
>> that are required as that seems to be the most optimal way of doing it.
> If you care about performance, then you should consider a completely
> different approach. It is really inefficient to load a large volume
> of code and then delete it as dead. I strongly recommend watching
> Nate's talk at the last llvm developer meeting.
Just chiming in here. Regarding the slides in .pdf of that talk, some
pages seem to contain black text on a black->dark blue gradient
background, making them really hard to read. Would it be possible to get
an updated version?
More information about the llvm-dev