diff options
author | Richard Biener <rguenther@suse.de> | 2023-06-23 09:28:34 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-06-23 10:11:52 +0200 |
commit | efc7fadff587b675552cd130cffe8c96c0feb4fc (patch) | |
tree | 2d40effd83a2038b8eee3363e6b1b940b62e4cae /gcc/tree-vect-patterns.cc | |
parent | 1742ea94aaa758a2b0c40360f89e27770bd8ffeb (diff) | |
download | gcc-efc7fadff587b675552cd130cffe8c96c0feb4fc.zip gcc-efc7fadff587b675552cd130cffe8c96c0feb4fc.tar.gz gcc-efc7fadff587b675552cd130cffe8c96c0feb4fc.tar.bz2 |
Optimize vector codegen for invariant loads, fix SLP support
The following avoids creating duplicate stmts for invariant loads
which was necessary when the vector stmts were in a linked list.
It also fixes SLP support which didn't correctly create the
appropriate number of copies.
* tree-vect-stmts.cc (vectorizable_load): Avoid useless
copies of VMAT_INVARIANT vectorized stmts, fix SLP support.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions