aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/ls
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-08-21 13:41:29 +0200
committerRichard Biener <rguenther@suse.de>2025-08-22 15:10:37 +0200
commit60fca68165bb66943ac0f70e28b3d9f2df93c219 (patch)
tree2645edae0e976b52faf5a68582897b6a95a16b19 /libjava/gnu/xml/dom/ls
parent62beefc4750fc141b008706121b784c64625f808 (diff)
downloadgcc-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/ls')
0 files changed, 0 insertions, 0 deletions