aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-02-22 14:26:06 +0100
committerRichard Biener <rguenther@suse.de>2022-02-22 14:28:02 +0100
commitd669237f7d56d83b3c7bc12a957db22b3c410b43 (patch)
tree0dde6b420b35a91cac7c0697a327fe5c6a34c89c
parent2ef0e75d0bbc80bc06a0a39135e3564f907e39c8 (diff)
downloadgcc-d669237f7d56d83b3c7bc12a957db22b3c410b43.zip
gcc-d669237f7d56d83b3c7bc12a957db22b3c410b43.tar.gz
gcc-d669237f7d56d83b3c7bc12a957db22b3c410b43.tar.bz2
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 <rguenther@suse.de> * tree-vect-slp.cc (vect_build_slp_tree_2): Dump the def used for a splat.
-rw-r--r--gcc/tree-vect-slp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index 9188d72..341bd52 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;
}
}