diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-10-08 16:20:05 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-10-09 16:18:31 +0800 |
commit | 873586ebc565b6c8abbaaba58b900dbe984bf64f (patch) | |
tree | 50565eca45d27d54984a2c9f6ba894c75582a10c /gcc/tree-vectorizer.h | |
parent | c1e474785859c9630fcae19c8d2d606f5642c636 (diff) | |
download | gcc-873586ebc565b6c8abbaaba58b900dbe984bf64f.zip gcc-873586ebc565b6c8abbaaba58b900dbe984bf64f.tar.gz gcc-873586ebc565b6c8abbaaba58b900dbe984bf64f.tar.bz2 |
TEST: Fix dump FAIL for RVV (RISCV-V vector)
As this showed: https://godbolt.org/z/3K9oK7fx3
ARM SVE 2 times for FOLD_EXTRACT_LAST wheras RVV 4 times.
This is because RISC-V doesn't enable vec_pack_trunc so we will failed conversion and fold_extract_last at the first time analysis.
Then we succeed at the second time.
So RVV has 4 times of showing "FOLD_EXTRACT_LAST:.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/vect-cond-reduc-4.c: Add vect_pack_trunc variant.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions