[Bug tree-optimization/104240] SLP discovery does not consider swapping comparisons
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 2 11:17:07 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104240
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:41e3db05d697405256b6002d8432955a93d249f1
commit r13-71-g41e3db05d697405256b6002d8432955a93d249f1
Author: Richard Biener <rguenther@suse.de>
Date: Mon May 2 12:01:51 2022 +0200
tree-optimization/104240 - SLP discovery with swapped comparisons
The following extends SLP discovery to handle swapped operands
in comparisons.
2022-05-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/104240
* tree-vect-slp.cc (op1_op0_map): New.
(vect_get_operand_map): Handle compares.
(vect_build_slp_tree_1): Support swapped operands for
tcc_comparison.
* gcc.dg/vect/bb-slp-pr104240.c: New testcase.
More information about the Gcc-bugs
mailing list