aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-06-29 11:30:23 +0200
committerRichard Biener <rguenther@suse.de>2021-06-29 13:10:36 +0200
commit2dfc0f2203e875621f4aeb2e2496aaeb9a2dc05b (patch)
tree0553703f170aca29424a56eeeafa18adb0efd02f /gcc/opts.c
parent53fd7544aff6d0a18869017cb9bb921a7f5dcd04 (diff)
downloadgcc-2dfc0f2203e875621f4aeb2e2496aaeb9a2dc05b.zip
gcc-2dfc0f2203e875621f4aeb2e2496aaeb9a2dc05b.tar.gz
gcc-2dfc0f2203e875621f4aeb2e2496aaeb9a2dc05b.tar.bz2
Refactor SLP permute opt propagation
This rewrites the SLP permute opt propagation to elide the visited bit for an incoming permute of -1 as well as allowing the initial propagation to take more than one iteration before starting on materialization. As we still lack propagation in the reverse direction I've added gcc.dg/vect/bb-slp-71.c and a stopgap to restrict "any" permute handling to the supported cases. 2021-06-29 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (slpg_vertex::visited): Remove. (vect_slp_perms_eq): Handle -1 permutes. (vect_optimize_slp): Rewrite permute propagation. * gcc.dg/vect/pr67790.c: Un-XFAIL. * gcc.dg/vect/bb-slp-71.c: New testcase.
Diffstat (limited to 'gcc/opts.c')
0 files changed, 0 insertions, 0 deletions