diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-11-07 07:03:43 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-11-07 11:32:18 +0800 |
commit | ee7ba242cf43884477f09e59d9b80af4bf91d143 (patch) | |
tree | ef32381b67564c3e95c821301eddd746058a7122 /libcpp | |
parent | 942ff588ba257d530b671019716275f9ef04041d (diff) | |
download | gcc-ee7ba242cf43884477f09e59d9b80af4bf91d143.zip gcc-ee7ba242cf43884477f09e59d9b80af4bf91d143.tar.gz gcc-ee7ba242cf43884477f09e59d9b80af4bf91d143.tar.bz2 |
test: Fix FAIL of bb-slp-cond-1.c for RVV
This patch fixes:
FAIL: gcc.dg/vect/bb-slp-cond-1.c -flto -ffat-lto-objects scan-tree-dump-times vect "loop vectorized" 1
FAIL: gcc.dg/vect/bb-slp-cond-1.c scan-tree-dump-times vect "loop vectorized" 1
For RVV, "loop vectorized" appears 2 times instead of 1. Because:
optimized: loop vectorized using 16 byte vectors
optimized: loop vectorized using 8 byte vectors
As long as targets have both 64bit and 128bit vectors, it will occur 2 times.
2 targets are same situation, one is AMDGCN, the other is RVV.
Replace it target amdgcn with vect64 && vect128 to make test more general and easy maintain.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/bb-slp-cond-1.c: Fix FAIL.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions