diff options
author | Richard Biener <rguenther@suse.de> | 2024-07-17 11:42:13 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-07-17 13:19:41 +0200 |
commit | 24689b84b8ec0c74c2b9a72ec4fb467069806bda (patch) | |
tree | 22870edf3d20c905e648d0fd6b0514cadb918f30 /libffi/src/xtensa/sysv.S | |
parent | 2790800c61fb5748cd336e09a691848dd3e74090 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The following fixes how during reduction epilogue generation we
gather conditional compares for condition reductions, thereby
following the reduction chain via STMT_VINFO_REDUC_IDX. The issue
is that SLP nodes for COND_EXPRs can have either three or four
children dependent on whether we have legacy GENERIC expressions
in the transitional pattern GIMPLE for the COND_EXPR condition.
PR tree-optimization/115959
* tree-vect-loop.cc (vect_create_epilog_for_reduction):
Get at the REDUC_IDX child in a safer way for COND_EXPR
nodes.
* gcc.dg/vect/pr115959.c: New testcase.
Diffstat (limited to 'libffi/src/xtensa/sysv.S')
0 files changed, 0 insertions, 0 deletions