[PATCH] [RFC] Patch for Bug 18808 - clang -O3 -flto drops Target feature flags

Eric Christopher echristo at gmail.com
Thu Mar 26 16:35:48 PDT 2015


>
>
> I'll take a look at the PR to make sure we can just close it.
>
>
So the PR was also about adding options at LTO time to fix code generation.
I don't think this is the right way to do it, I think I'd prefer to use the
clang machinery rather than -mattr etc. (Which you can do via command line
option if the gold plugin calls cl::ParseCommandLineOptions I think...)

-eric


> -eric
>
>
> On Thu, Mar 26, 2015 at 4:23 PM David Blaikie <dblaikie at gmail.com> wrote:
>
>> Eric - this sounds related to your recent work. I assume we should be
>> producing the same asm, but not by passing any flags to the linker,
>> instead
>> by using function attributes?
>>
>>
>> REPOSITORY
>>   rL LLVM
>>
>> http://reviews.llvm.org/D8629
>>
>> EMAIL PREFERENCES
>>   http://reviews.llvm.org/settings/panel/emailpreferences/
>>
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150326/a0f2c87b/attachment.html>


More information about the cfe-commits mailing list