opt-info message change for vectorizer

Xinliang David Li davidxl@google.com
Tue Aug 27 18:31:00 GMT 2013


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



More information about the Gcc-patches mailing list