From: Richard Biener Date: Tue, 22 Feb 2022 13:26:06 +0000 (+0100) Subject: Dump def that we use for a splat X-Git-Tag: basepoints/gcc-13~986 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d669237f7d56d83b3c7bc12a957db22b3c410b43;p=thirdparty%2Fgcc.git Dump def that we use for a splat This makes the SLP vectorizer dump the def we use for a splat to aid debugging. 2022-02-22 Richard Biener * tree-vect-slp.cc (vect_build_slp_tree_2): Dump the def used for a splat. --- diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc index 9188d727e335..341bd5220a5a 100644 --- a/gcc/tree-vect-slp.cc +++ b/gcc/tree-vect-slp.cc @@ -2202,7 +2202,8 @@ out: { if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, - "Using a splat of the uniform operand\n"); + "Using a splat of the uniform operand %G", + first_def->stmt); oprnd_info->first_dt = vect_external_def; } }