diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-21 13:41:29 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-08-22 15:10:37 +0200 |
commit | 60fca68165bb66943ac0f70e28b3d9f2df93c219 (patch) | |
tree | 2645edae0e976b52faf5a68582897b6a95a16b19 /libjava/gnu/xml/dom | |
parent | 62beefc4750fc141b008706121b784c64625f808 (diff) | |
download | gcc-60fca68165bb66943ac0f70e28b3d9f2df93c219.zip gcc-60fca68165bb66943ac0f70e28b3d9f2df93c219.tar.gz gcc-60fca68165bb66943ac0f70e28b3d9f2df93c219.tar.bz2 |
Use REDUC_GROUP_FIRST_ELEMENT less
REDUC_GROUP_FIRST_ELEMENT is often checked to see whether we are
dealing with a SLP reduction or a reduction chain. When we are
in the context of analyzing the reduction (so we are sure
the SLP instance we see is correct), then we can use the SLP
instance kind instead.
* tree-vect-loop.cc (get_initial_defs_for_reduction): Adjust
comment.
(vect_create_epilog_for_reduction): Get at the reduction
kind via the instance, re-use the slp_reduc flag instead
of checking REDUC_GROUP_FIRST_ELEMENT again.
Remove unreachable code.
(vectorizable_reduction): Compute a reduc_chain flag from
the SLP instance kind, avoid REDUC_GROUP_FIRST_ELEMENT
checks.
(vect_transform_cycle_phi): Likewise.
(vectorizable_live_operation): Check the SLP instance
kind instead of REDUC_GROUP_FIRST_ELEMENT.
Diffstat (limited to 'libjava/gnu/xml/dom')
0 files changed, 0 insertions, 0 deletions