Use temporary files in lto

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 15:23:22 PDT 2016


On Fri, Apr 29, 2016 at 1:45 PM, Sean Silva <chisophugis at gmail.com> wrote:

>
>
> On Thu, Apr 28, 2016 at 5:08 PM, Rui Ueyama via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> It is actually harder than I thought as I have never built ELF
>> executables with LTO on Windows. Did anyone do that before?
>>
>
> The primary shipping configuration for PS4 is building ELF executables on
> Windows :)
>

Yeah, I know. :) I'm of course not disregarding that use case, and I know
that's important, but it's just that I haven't tested that configuration
myself before.

-- Sean Silva
>
>
>>
>> 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
>>> >>
>>> >
>>>
>>
>>
>> _______________________________________________
>> 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/20160429/38428bd7/attachment-0001.html>


More information about the llvm-commits mailing list