aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh.kulkarni <prathamesh.kulkarni@linaro.org>2021-09-21 17:16:19 +0530
committerprathamesh.kulkarni <prathamesh.kulkarni@linaro.org>2021-09-21 17:16:19 +0530
commit4848370af86952c5fbccf054158e1414113e06db (patch)
tree5c7595656a49db27a1d640cb88d9a10c2676ed2f
parente87789f197e47259c94349821d3446f7d959e08f (diff)
Add asm_name to dump file note and mark it with ** for vect CI.linaro-local/vect-metric/master
Change-Id: I7ab4dd6b03dd0ec6d7bfd0dd10b7997738c79044
-rw-r--r--gcc/tree-vectorizer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index 20daa31187d..560798cf1ac 100644
--- a/gcc/tree-vectorizer.c
+++ b/gcc/tree-vectorizer.c
@@ -1254,8 +1254,9 @@ vectorize_loops (void)
if (dump_enabled_p ()
|| (num_vectorized_loops > 0 && dump_enabled_p ()))
dump_printf_loc (MSG_NOTE, vect_location,
- "vectorized %u loops in function.\n",
- num_vectorized_loops);
+ "**vectorized %u loops in function %s.\n",
+ num_vectorized_loops,
+ cgraph_node::get_create (cfun->decl)->asm_name ());
/* ----------- Finalize. ----------- */