This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: opt-info message change for vectorizer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]