This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: opt-info message change for vectorizer
- From: Xinliang David Li <davidxl at google dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Guenther <richard dot guenther at gmail dot com>, Teresa Johnson <tejohnson at google dot com>
- Date: Tue, 27 Aug 2013 13:30:39 -0700
- Subject: Re: opt-info message change for vectorizer
- Authentication-results: sourceware.org; auth=none
- References: <CAAkRFZK60Yer3SOds_=KbXzvqfz3EBfcxLFJEZdpKVSXiVFMvw at mail dot gmail dot com> <CAAkRFZ+JC55X5YhLC30XwUrVeDWhM-ff4WC5arwYiv2t3yQZzQ at mail dot gmail dot com> <FF2D44FE-198A-441C-9460-9A41ED840732 at comcast dot net>
If this is the convention, we should probably have another patch to
fix all the existing opt-info messages.
thanks,
David
On Tue, Aug 27, 2013 at 1:23 PM, Mike Stump <mikestump@comcast.net> wrote:
> On Aug 27, 2013, at 11:22 AM, Xinliang David Li <davidxl@google.com> wrote:
>> Does this one look ok?
>
> We don't capitalize text after error:, warning: or note:.
>
>> thanks,
>>
>> David
>>
>> On Thu, Aug 22, 2013 at 4:20 PM, Xinliang David Li <davidxl@google.com> wrote:
>>> Hi, In this patch, loop alignment peeling and loop versioning
>>> transformation will be reported via -fopt-info by default. This will
>>> help vectorizer size tuning.
>>>
>>> It also enhances the opt-info dump to include current function name as
>>> context. Otherwise, we may see duplicate messeages from inline/cloned
>>> instances.
>>>
>>> An example opt report:
>>>
>>>
>>>
>>> b.c:16:A::foo: note: Loop is vectorized
>>>
>>> b.c:16:A::foo: note: Loop is versioned to remove aliases for vectorization
>>>
>>> b.c:16:A::foo: note: Loop is peeled to enhance alignment for vectorization
>>>
>>> b.c:16:A::foo: note: Completely unroll loop 6 times
>>>
>>> b.c:12:A::foo: note: Completely unroll loop 6 times
>>>
>>>
>>> Ok after testing?
>>>
>>> thanks,
>>>
>>> David
>