[llvm-commits] [llvm] r72700 - in /llvm/trunk/tools/lto: LTOModule.cpp LTOModule.h

Duncan Sands baldrick at free.fr
Tue Jun 2 23:38:50 PDT 2009


Devang Patel wrote:
> On Tue, Jun 2, 2009 at 12:04 PM, Duncan Sands <baldrick at free.fr> wrote:
>>> >From the description, I think this is an issue of emulating some funny
>>> linker hacks in LTO mode rather than an issue of actual linking.  So
>>> whether two files are linked with llvm-link has no effect on the
>>> issue.
>> Isn't LTO supposed to be more or less equivalent to: link using
>> llvm-link, optimize using opt, codegen using llc?
> 
> No. In LTO mode, the linker collects and shares information from
> bitcode files as well as from non-bitcode object files.
> 
> llvm-link+opt+llc path does not collect & share any info from non-bit
> code file. Actually llvlm-link+opt+llc is essentially same as generate
> bitcode+opt+llc in this regard.

But Nick's patch doesn't seem to have anything to do with non-bit
code files...

Ciao,

Duncan.



More information about the llvm-commits mailing list