]> git.ipfire.org Git - thirdparty/gcc.git/commit
Pass down vector type to avoid STMT_VINFO_VECTYPE on reduc-info
authorRichard Biener <rguenther@suse.de>
Mon, 11 Aug 2025 13:38:41 +0000 (15:38 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 12 Aug 2025 07:11:30 +0000 (09:11 +0200)
commit5e76090d320a83bf6eeb75c6adb950939aa674e9
tree83d0064fb50cfe181b42d0b80ba25ab5b31c68fe
parentbceae48c3c0978fc840169dd4b487c24a0ac5c53
Pass down vector type to avoid STMT_VINFO_VECTYPE on reduc-info

The following passes down the vector type to functions instead of
querying it from the reduc-info stmt-info.

* tree-vect-loop.cc (get_initial_defs_for_reduction):
Get vector type as argument.
(vect_find_reusable_accumulator): Likewise.
(vect_transform_cycle_phi): Adjust.
gcc/tree-vect-loop.cc