diff options
author | Richard Biener <rguenther@suse.de> | 2025-01-07 11:15:43 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-01-08 08:21:50 +0100 |
commit | 2dd4eb15b63ca1f20a637e8b26567d5064a43a4f (patch) | |
tree | 9b6961ead5b7adb14b84ed05535cb4345a1473bd /gcc/json-parsing.cc | |
parent | 42b24557bdf805d2913d3c75531fe441b1634332 (diff) | |
download | gcc-2dd4eb15b63ca1f20a637e8b26567d5064a43a4f.zip gcc-2dd4eb15b63ca1f20a637e8b26567d5064a43a4f.tar.gz gcc-2dd4eb15b63ca1f20a637e8b26567d5064a43a4f.tar.bz2 |
tree-optimization/118269 - SLP reduction chain and early breaks
When we create the SLP reduction chain epilogue for the PHIs for
the early exit we fail to properly classify the reduction as SLP
reduction chain. The following fixes the corresponding checks.
PR tree-optimization/118269
* tree-vect-loop.cc (vect_create_epilog_for_reduction):
Use the correct stmt for the REDUC_GROUP_FIRST_ELEMENT lookup.
* gcc.dg/vect/vect-early-break_131-pr118269.c: New testcase.
Diffstat (limited to 'gcc/json-parsing.cc')
0 files changed, 0 insertions, 0 deletions