[llvm-dev] ThinLTO status in trunk?

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 22 14:31:10 PDT 2016


> On Jul 22, 2016, at 12:36 PM, Teresa Johnson via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi Vikram,
> 
> Thanks!
> 
> I'm not sure what part got committed in the 3.8 timeframe - it looks like that was released back in March?

3.8 was branched in early January though. 
It has some of the work-in-progress for ThinLTO, it “could” work in simple cases I guess, but it hasn’t really been tested.
Also, in 3.8, the state was basically what was presented at EuroLLVM, while (as explained in the blog post), we ended up redesigning it significantly.
In 3.9 we changed the bitcode format and broke backward compatibility: 3.9 won’t be able to read a ThinLTO bitcode generated by 3.8 (this is possible only because “ThinLTO was not supported in 3.8”). 

— 
Mehdi




> A number of fixes have gone in since then so I would stick with a more recent version. The ThinLTO in trunk and (presumably 3.9 which seems to have not yet gone out?) is complete and working with multiple threads using gold. 
> 
> The distributed build support is also in (which needs support in the build system however), although I am fixing a few bugs right now that popped up in testing our internal apps. Which distributed build system do you use? We have support coming out in Bazel, which is our open sourced distributed build system.
> 
> Let me know if you run into any issues or have any other questions!
> 
> Teresa
> 
> 
> On Fri, Jul 22, 2016 at 12:15 PM, Adve, Vikram Sadanand via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> First, kudos on the ThinLTO results reported in your blog post — they’re impressive and the system sounds really well engineered.
> 
> I’m starting to try it out on a large piece of software and I’d like to make sure I know what to expect.  The blog said it will be available in clang-3.9 but both clang-3.8 and trunk seem to have some degree of support for it.  What is the status of ThinLTO in 3.8 (preferably) or trunk (otherwise)?  Are either of these usable with multiple threads?  What about for a distributed build?
> 
> Thanks!
> 
> -—Vikram
> 
> // Vikram S. Adve
> // Professor, Department of Computer Science
> // University of Illinois at Urbana-Champaign
> // vadve at illinois.edu <mailto:vadve at illinois.edu>
> // http://llvm.org <http://llvm.org/>
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
> 
> 
> 
> -- 
> Teresa Johnson |	 Software Engineer |	 tejohnson at google.com <mailto:tejohnson at google.com> |	 408-460-2413
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

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


More information about the llvm-dev mailing list