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: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Guenther <richard dot guenther at gmail dot com>, Teresa Johnson <tejohnson at google dot com>
- Date: Tue, 27 Aug 2013 11:22:46 -0700
- Subject: Re: opt-info message change for vectorizer
- Authentication-results: sourceware.org; auth=none
- References: <CAAkRFZK60Yer3SOds_=KbXzvqfz3EBfcxLFJEZdpKVSXiVFMvw at mail dot gmail dot com>
Does this one look ok?
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