]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/107254 - check and support live lanes from permutes
authorRichard Biener <rguenther@suse.de>
Fri, 14 Oct 2022 09:14:59 +0000 (11:14 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 17 Oct 2022 12:29:20 +0000 (14:29 +0200)
commitfe7d74313736b8e1c30812bc49419f419bdf1c53
treefaa47c085a9fbd1930e1d7b99b14626ba8c0895c
parentd127348d7711e148e5ddd205a8c3409b37fae64c
tree-optimization/107254 - check and support live lanes from permutes

The following fixes an omission from adding SLP permute nodes which
is live lanes originating from those.  We have to check that we
can extract the lane and have to actually code generate them.

PR tree-optimization/107254
* tree-vect-slp.cc (vect_slp_analyze_node_operations_1):
For permutes also analyze live lanes.
(vect_schedule_slp_node): For permutes also code generate
live lane extracts.

* gfortran.dg/vect/pr107254.f90: New testcase.

(cherry picked from commit 9ed4a849afb5b18b462bea311e7eee454c2c9f68)
gcc/testsuite/gfortran.dg/vect/pr107254.f90 [new file with mode: 0644]
gcc/tree-vect-slp.cc
This page took 0.057593 seconds and 5 git commands to generate.