aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-iterator.cc
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-08-06 17:48:42 +0800
committerXi Ruoyao <xry111@xry111.site>2024-08-07 15:59:03 +0800
commit2083389a18d36684a88d9e2653bacc87ad894b50 (patch)
tree83d0b8a4892ab86159aece0e8aea791485256560 /gcc/tree-iterator.cc
parent9426ce98ccb35a43b4f3e8ea14dcbf2f5de5dc48 (diff)
downloadgcc-2083389a18d36684a88d9e2653bacc87ad894b50.zip
gcc-2083389a18d36684a88d9e2653bacc87ad894b50.tar.gz
gcc-2083389a18d36684a88d9e2653bacc87ad894b50.tar.bz2
vect: Fix vect_reduction_def check for odd/even widen mult [PR116142]
The check was implemented incorrectly, so vec_widen_smult_{even,odd}_M was never used. This is not good for targets with native even/odd widening multiplication but not lo/hi multiplication. The fix is actually developed by Richard Biener. gcc/ChangeLog: PR tree-optimization/116142 * tree-vect-stmts.cc (supportable_widening_operation): Remove an redundant and incorrect vect_reduction_def check, and fix the operand of another vect_reduction_def check. gcc/testsuite/ChangeLog: PR tree-optimization/116142 * gcc.target/i386/pr116142.c: New test. Co-authored-by: Richard Biener <rguenther@suse.de>
Diffstat (limited to 'gcc/tree-iterator.cc')
0 files changed, 0 insertions, 0 deletions