diff options
author | Richard Biener <rguenther@suse.de> | 2024-03-11 14:58:57 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-03-12 08:16:56 +0100 |
commit | c0c57246d5b47459bdb488734bc2c004a92668b5 (patch) | |
tree | ecf6b510c738c2cf3daf9221be24b1f624a0b66f /libcpp | |
parent | c4e5789cede6974b6483c0f82069ff80b5a547e4 (diff) | |
download | gcc-c0c57246d5b47459bdb488734bc2c004a92668b5.zip gcc-c0c57246d5b47459bdb488734bc2c004a92668b5.tar.gz gcc-c0c57246d5b47459bdb488734bc2c004a92668b5.tar.bz2 |
tree-optimization/114297 - SLP reduction with early break fix
The following makes sure to pass in the SLP node for the live stmts
we are generating the reduction epilogue for to
vect_create_epilog_for_reduction. This follows the previous fix for
the non-SLP path.
PR tree-optimization/114297
* tree-vect-loop.cc (vectorizable_live_operation): Pass in the
live stmts SLP node to vect_create_epilog_for_reduction.
* gcc.dg/vect/vect-early-break_123-pr114297.c: New testcase.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions