diff options
author | Richard Biener <rguenther@suse.de> | 2022-05-02 12:01:51 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-05-02 13:16:59 +0200 |
commit | 41e3db05d697405256b6002d8432955a93d249f1 (patch) | |
tree | 40b90a111fceeacd1629f52b7d936c8713ff767e /gcc/genhooks.cc | |
parent | 86d821ddf5615e693ead667b2580898f46de8eb9 (diff) | |
download | gcc-41e3db05d697405256b6002d8432955a93d249f1.zip gcc-41e3db05d697405256b6002d8432955a93d249f1.tar.gz gcc-41e3db05d697405256b6002d8432955a93d249f1.tar.bz2 |
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.
Diffstat (limited to 'gcc/genhooks.cc')
0 files changed, 0 insertions, 0 deletions