Displaying 20 results from an estimated 36 matches for "d28404".
2017 Jan 11
9
Redefining optnone to help LTO
In D28404, Mehdi wanted to use the 'optnone' attribute as a way to record
"I was compiled with -O0" in the IR, because it seems like a good idea to
remember that fact in an LTO compilation and there is no way to remember
that fact currently. A couple of people felt it might be better to ha...
2017 Jan 16
2
Redefining optnone to help LTO
...;
If you want to debug and rebuild only part of the program, CFI still requires to use LTO, IIUC.
—
Mehdi
>
> -- Sean Silva
>
> On Wed, Jan 11, 2017 at 8:34 AM, Robinson, Paul via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> In D28404, Mehdi wanted to use the 'optnone' attribute as a way to record
> "I was compiled with -O0" in the IR, because it seems like a good idea to
> remember that fact in an LTO compilation and there is no way to remember
> that fact currently. A couple of people felt it might...
2017 Jan 14
2
Redefining optnone to help LTO
...rstand the interaction of our pass pipeline. Having an attribute that tells the optimizer to ignore a function (more or less) is really useful, and I'd rather not loose that functionality.
>
> Philip
>
>
> On 01/11/2017 08:34 AM, Robinson, Paul via llvm-dev wrote:
>> In D28404, Mehdi wanted to use the 'optnone' attribute as a way to record
>> "I was compiled with -O0" in the IR, because it seems like a good idea to
>> remember that fact in an LTO compilation and there is no way to remember
>> that fact currently. A couple of people fe...
2018 Jan 06
4
Relationship between clang, opt and llc
...Amongst other, this will help LTO to correctly handle/honor files
compiled with O0, helping debugging failures.
It also seems in line with how we handle other options, like how
-fnoinline adds the appropriate attribute as well.
Differential Revision: https://reviews.llvm.org/D28404
~Craig
On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com> wrote:
> @Zhaopei, thanks for the clarification.
>
> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives
> the following error message. From which version -disable-O0-optnone ge...
2018 Jan 06
0
Relationship between clang, opt and llc
...ctly handle/honor files
>
> compiled with O0, helping debugging failures.
>
> It also seems in line with how we handle other options, like how
>
> -fnoinline adds the appropriate attribute as well.
>
>
>
> Differential Revision: https://reviews.llvm.org/D28404
>
>
>
> ~Craig
>
> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com> wrote:
>
>> @Zhaopei, thanks for the clarification.
>>
>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives
>> the following error mess...
2018 Jan 06
3
Relationship between clang, opt and llc
...; compiled with O0, helping debugging failures.
>>
>> It also seems in line with how we handle other options, like how
>>
>> -fnoinline adds the appropriate attribute as well.
>>
>>
>>
>> Differential Revision: https://reviews.llvm.org/D28404
>>
>>
>>
>> ~Craig
>>
>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>> wrote:
>>
>>> @Zhaopei, thanks for the clarification.
>>>
>>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O...
2018 Jan 06
1
Relationship between clang, opt and llc
...; compiled with O0, helping debugging failures.
>>
>> It also seems in line with how we handle other options, like how
>>
>> -fnoinline adds the appropriate attribute as well.
>>
>>
>>
>> Differential Revision: https://reviews.llvm.org/D28404
>>
>>
>>
>> ~Craig
>>
>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>> wrote:
>>
>>> @Zhaopei, thanks for the clarification.
>>>
>>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O...
2018 Jan 07
2
Relationship between clang, opt and llc
...; compiled with O0, helping debugging failures.
>>
>> It also seems in line with how we handle other options, like how
>>
>> -fnoinline adds the appropriate attribute as well.
>>
>>
>>
>> Differential Revision: https://reviews.llvm.org/D28404
>>
>>
>>
>> ~Craig
>>
>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>> wrote:
>>
>>> @Zhaopei, thanks for the clarification.
>>>
>>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O...
2018 Jan 06
0
Relationship between clang, opt and llc
...debugging failures.
>>>
>>> It also seems in line with how we handle other options, like how
>>>
>>> -fnoinline adds the appropriate attribute as well.
>>>
>>>
>>>
>>> Differential Revision: https://reviews.llvm.org/D28404
>>>
>>>
>>>
>>> ~Craig
>>>
>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>> wrote:
>>>
>>>> @Zhaopei, thanks for the clarification.
>>>>
>>>> @Craig and @M...
2018 Jan 07
2
Relationship between clang, opt and llc
...debugging failures.
>>>
>>> It also seems in line with how we handle other options, like how
>>>
>>> -fnoinline adds the appropriate attribute as well.
>>>
>>>
>>>
>>> Differential Revision: https://reviews.llvm.org/D28404
>>>
>>>
>>>
>>> ~Craig
>>>
>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>> wrote:
>>>
>>>> @Zhaopei, thanks for the clarification.
>>>>
>>>> @Craig and @M...
2018 Jan 08
0
Relationship between clang, opt and llc
...debugging failures.
>>>
>>> It also seems in line with how we handle other options, like how
>>>
>>> -fnoinline adds the appropriate attribute as well.
>>>
>>>
>>>
>>> Differential Revision: https://reviews.llvm.org/D28404
>>>
>>>
>>>
>>> ~Craig
>>>
>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>> wrote:
>>>
>>>> @Zhaopei, thanks for the clarification.
>>>>
>>>> @Craig and @M...
2018 Jan 07
0
Relationship between clang, opt and llc
...>
>>>> It also seems in line with how we handle other options, like how
>>>>
>>>> -fnoinline adds the appropriate attribute as well.
>>>>
>>>>
>>>>
>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>
>>>>
>>>>
>>>> ~Craig
>>>>
>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>> wrote:
>>>>
>>>>> @Zhaopei, thanks for the clarification.
>>>...
2018 Jan 06
2
Relationship between clang, opt and llc
...>
>>>> It also seems in line with how we handle other options, like how
>>>>
>>>> -fnoinline adds the appropriate attribute as well.
>>>>
>>>>
>>>>
>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>
>>>>
>>>>
>>>> ~Craig
>>>>
>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>> wrote:
>>>>
>>>>> @Zhaopei, thanks for the clarification.
>>>...
2018 Jan 08
2
Relationship between clang, opt and llc
...>
>>>> It also seems in line with how we handle other options, like how
>>>>
>>>> -fnoinline adds the appropriate attribute as well.
>>>>
>>>>
>>>>
>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>
>>>>
>>>>
>>>> ~Craig
>>>>
>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>> wrote:
>>>>
>>>>> @Zhaopei, thanks for the clarification.
>>>...
2018 Jan 06
2
Relationship between clang, opt and llc
...with how we handle other options, like how
>>>>>>
>>>>>> -fnoinline adds the appropriate attribute as well.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>>>
>>>>>>
>>>>>>
>>>>>> ~Craig
>>>>>>
>>>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>>>> wrote:
>>>>>>
>>...
2018 Jan 06
0
Relationship between clang, opt and llc
...It also seems in line with how we handle other options, like how
>>>>>
>>>>> -fnoinline adds the appropriate attribute as well.
>>>>>
>>>>>
>>>>>
>>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>>
>>>>>
>>>>>
>>>>> ~Craig
>>>>>
>>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> @Zhaopei, thank...
2018 Jan 08
2
Relationship between clang, opt and llc
...with how we handle other options, like how
>>>>>>
>>>>>> -fnoinline adds the appropriate attribute as well.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>>>
>>>>>>
>>>>>>
>>>>>> ~Craig
>>>>>>
>>>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>>>> wrote:
>>>>>>
>>...
2018 Jan 07
2
Relationship between clang, opt and llc
...>
>>>> It also seems in line with how we handle other options, like how
>>>>
>>>> -fnoinline adds the appropriate attribute as well.
>>>>
>>>>
>>>>
>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>
>>>>
>>>>
>>>> ~Craig
>>>>
>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>> wrote:
>>>>
>>>>> @Zhaopei, thanks for the clarification.
>>>...
2018 Jan 06
0
Relationship between clang, opt and llc
...options, like how
>>>>>>>
>>>>>>> -fnoinline adds the appropriate attribute as well.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ~Craig
>>>>>>>
>>>>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>>>>> wrote:
>&...
2018 Jan 08
0
Relationship between clang, opt and llc
...It also seems in line with how we handle other options, like how
>>>>>
>>>>> -fnoinline adds the appropriate attribute as well.
>>>>>
>>>>>
>>>>>
>>>>> Differential Revision: https://reviews.llvm.org/D28404
>>>>>
>>>>>
>>>>>
>>>>> ~Craig
>>>>>
>>>>> On Fri, Jan 5, 2018 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> @Zhaopei, thank...