[LLVMdev] llvm LTO SPEC2000 results?
Duncan Sands
baldrick at free.fr
Wed Oct 7 09:57:35 PDT 2009
Hi Jack,
> It would appear that the gcc LTO implementation
> is finally showing results (although with a lot
> of wrong code results). I assume we really don't
> have a functional -fwhole-program in llvm-gcc-4.2
> but do we have one in clang?
it's been possible to do the equivalent of -fwhole-program
for ages in LLVM, you just have to run some LLVM tools by
hand or use the gold plugin. I never did it on SPEC (I don't
have SPEC) but for some scientific computation stuff I have here
I saw a 10% speed up (more or less) using whole program lto.
Ciao,
Duncan.
More information about the llvm-dev
mailing list