diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-09-10 10:33:04 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-09-11 07:14:16 +0800 |
commit | 108779056eb4b56e715a094fac48a699d2dc91b3 (patch) | |
tree | a7c8f4a51e46b1202ecaead7bed6bc017de64d2a /gcc/pretty-print.h | |
parent | e390872aebcfebb7c9bc95d8fb7e44f2bec996d3 (diff) | |
download | gcc-108779056eb4b56e715a094fac48a699d2dc91b3.zip gcc-108779056eb4b56e715a094fac48a699d2dc91b3.tar.gz gcc-108779056eb4b56e715a094fac48a699d2dc91b3.tar.bz2 |
RISC-V: Expand fixed-vlmax/vls vector permutation in targethook
When debugging FAIL: gcc.dg/pr92301.c execution test.
Realize a vls vector permutation situation failed to vectorize since early return false:
- /* For constant size indices, we dont't need to handle it here.
- Just leave it to vec_perm<mode>. */
- if (d->perm.length ().is_constant ())
- return false;
To avoid more potential failed vectorization case. Now expand it in targethook.
gcc/ChangeLog:
* config/riscv/riscv-v.cc (shuffle_generic_patterns): Expand
fixed-vlmax/vls vector permutation.
Diffstat (limited to 'gcc/pretty-print.h')
0 files changed, 0 insertions, 0 deletions