diff options
author | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-26 22:02:53 +0800 |
---|---|---|
committer | Feng Xue <fxue@os.amperecomputing.com> | 2024-06-30 14:46:40 +0800 |
commit | 1ff5f8f8a05dd57620a1e2abbf87bd511b113cce (patch) | |
tree | 84363c2233731872e54bb648c2f0ed75cac1a771 /gcc/tree-vect-loop.cc | |
parent | 1bcfed4c52bb2410ea71bf6e4d46026e18461f84 (diff) | |
download | gcc-1ff5f8f8a05dd57620a1e2abbf87bd511b113cce.zip gcc-1ff5f8f8a05dd57620a1e2abbf87bd511b113cce.tar.gz gcc-1ff5f8f8a05dd57620a1e2abbf87bd511b113cce.tar.bz2 |
vect: Fix shift-by-induction for single-lane slp
Allow shift-by-induction for slp node, when it is single lane, which is
aligned with the original loop-based handling.
2024-06-26 Feng Xue <fxue@os.amperecomputing.com>
gcc/
* tree-vect-stmts.cc (vectorizable_shift): Allow shift-by-induction
for single-lane slp node.
gcc/testsuite/
* gcc.dg/vect/vect-shift-6.c
* gcc.dg/vect/vect-shift-7.c
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions