diff options
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index f4b4dec..8bb9e3e 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -1425,6 +1425,16 @@ vect_get_scalar_dr_size (struct data_reference *dr) /* Source location */ extern source_location vect_location; +/* If dumping is enabled, emit a MSG_NOTE at vect_location about + entering MSG within the vectorizer. MSG should be a string literal. */ + +#define DUMP_VECT_SCOPE(MSG) \ + do { \ + if (dump_enabled_p ()) \ + dump_printf_loc (MSG_NOTE, vect_location, \ + "=== " MSG " ===\n"); \ + } while (0) + /*-----------------------------------------------------------------*/ /* Function prototypes. */ /*-----------------------------------------------------------------*/ |