aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-06-07 09:41:11 +0200
committerRichard Biener <rguenther@suse.de>2024-06-07 11:40:56 +0200
commitdd6f942c266533b2f72610f354bc9184f8276beb (patch)
treeef1698d6ae7f88f0f6c3996a88dc6cc4347ac526 /libcpp
parent94997567ea5cbeb35571e94cf76d7f99ea3f9c43 (diff)
downloadgcc-dd6f942c266533b2f72610f354bc9184f8276beb.zip
gcc-dd6f942c266533b2f72610f354bc9184f8276beb.tar.gz
gcc-dd6f942c266533b2f72610f354bc9184f8276beb.tar.bz2
Fix fold-left reduction vectorization with multiple stmt copies
There's a typo when code generating the mask operand for conditional fold-left reductions in the case we have multiple stmt copies. The latter is now allowed for SLP and possibly disabled for non-SLP by accident. This fixes the observed run-FAIL for gcc.dg/vect/vect-cond-reduc-in-order-2-signed-zero.c with AVX512 and 256bit sized vectors. * tree-vect-loop.cc (vectorize_fold_left_reduction): Fix mask vector operand indexing.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions