link time optimization doc

Hi All,

I have installed LinkTimeOptimization.html document in doc directory to describe LTO interface.

Here's a link: :slight_smile:
http://llvm.org/docs/LinkTimeOptimization.html

-Chris

Hi,

I have installed LinkTimeOptimization.html document in doc directory to describe LTO interface.

Here's a link: :slight_smile:
http://llvm.org/docs/LinkTimeOptimization.html

Does the LTO-interface function already, or is functionality currently limited (this is what I understood from the 1.8 release notes)? In the latter case, what are the limitations/plans? Does it work with the 3.x-frontend too?

Kind regards,

Bram Adams
GH-SEL, INTEC, Ghent University

Devang,

Wonderful! Thanks for explaining this, it really helps.

I took the liberty of fixing a few grammatical errors and some HTML
usage/style things. No significant change to the content was made.

Reid.

Devang,

That's a nice addition to LLVM!

Incidentally, the term "cross-module" is becoming a standard term for what you called "intermodular," e.g., HP and others have written papers on their "cross-module optimizer." It would be worth replacing "intermodular" in the doc.

Thanks,

--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.cs.uiuc.edu/

My HTML voodoo is weak and I could not figure out a way to add code, hence all <br>s.
Thanks,

Hi,

I have installed LinkTimeOptimization.html document in doc directory to describe LTO interface.

Here's a link: :slight_smile:
http://llvm.org/docs/LinkTimeOptimization.html

Does the LTO-interface function already, or is functionality currently limited (this is what I understood
from the 1.8 release notes)?

I think, 1.8 release notes does not refer to this tool, instead it refers to llvm-ld tool.

In the latter case, what are the limitations/plans?

This approach requires linker changes. I am updating darwin linker, but I do not have plan to update other linkers. I hope, this document helps other folks in updating gnu ld and other linkers.

Unless someone else with more hands on experience is willing to, I am planning on working to port this to binutils before long. I’ve been waiting primarily for the work on the darwin linker to finish up, so that I can use that as a reference.

However, I am still quite new to LLVM, and if anyone has more experience or wants to help, it’d be great. =] Just trying to do what I can.

-Chandler

Hi Chandler,

I too would like to see this in binutils. I don't know that code at all,
but I'll help you where I can.

Reid.