Use temporary files in lto

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 17:08:54 PDT 2016


It is actually harder than I thought as I have never built ELF executables
with LTO on Windows. Did anyone do that before?

On Thu, Apr 28, 2016 at 4:49 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> Thanks!
>
> On 28 April 2016 at 19:35, Rui Ueyama <ruiu at google.com> wrote:
> > I can run this on Windows for you.
> >
> > On Thu, Apr 28, 2016 at 4:23 PM, Rafael EspĂ­ndola
> > <llvm-commits at lists.llvm.org> wrote:
> >>
> >> This is the idea we chatted today to try to avoid mallocs os windows.
> >> I was surprised to find this a small speedup up on linux (with /tmp in
> >> tmpfs), so I wonder if we are doing something funny in SmallVector.
> >>
> >> Linking llvm-as I got
> >>
> >> master: 29.774786873 seconds
> >> patch 29.752283093 seconds
> >>
> >> Could one of you benchmark this on windows? If it is a performance win
> >> there too I will clean the patch up and send for proper review.
> >>
> >> Cheers,
> >> Rafael
> >>
> >> _______________________________________________
> >> llvm-commits mailing list
> >> llvm-commits at lists.llvm.org
> >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160428/38379585/attachment.html>


More information about the llvm-commits mailing list