Re: [PATCH 2/8] Introduce VECT_SCOPE macro

2018-06-18 Thread David Malcolm
On Fri, 2018-06-15 at 14:11 -0600, Jeff Law wrote: > On 06/14/2018 02:32 PM, David Malcolm wrote: > > The vectorizer code has numerous instances of: > > > > if (dump_enabled_p ()) > > dump_printf_loc (MSG_NOTE, vect_location, > > "=== some message ===\n"); > > > > In ea

Re: [PATCH 2/8] Introduce VECT_SCOPE macro

2018-06-18 Thread Richard Biener
On Fri, Jun 15, 2018 at 10:11 PM Jeff Law wrote: > > On 06/14/2018 02:32 PM, David Malcolm wrote: > > The vectorizer code has numerous instances of: > > > > if (dump_enabled_p ()) > > dump_printf_loc (MSG_NOTE, vect_location, > > "=== some message ===\n"); > > > > In eac

Re: [PATCH 2/8] Introduce VECT_SCOPE macro

2018-06-15 Thread Jeff Law
On 06/14/2018 02:32 PM, David Malcolm wrote: > The vectorizer code has numerous instances of: > > if (dump_enabled_p ()) > dump_printf_loc (MSG_NOTE, vect_location, > "=== some message ===\n"); > > In each case, the dump_printf_loc is a MSG_NODE at vect_location. > > I

[PATCH 2/8] Introduce VECT_SCOPE macro

2018-06-14 Thread David Malcolm
The vectorizer code has numerous instances of: if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "=== some message ===\n"); In each case, the dump_printf_loc is a MSG_NODE at vect_location. In almost all cases the message is of the form "=== foo ===\n"