On Sun, 8 Oct 2023, Juzhe-Zhong wrote:
> gcc/testsuite/ChangeLog:
OK
>
> * gcc.dg/vect/bb-slp-cond-1.c: Fix dump FAIL for RVV.
> * gcc.dg/vect/pr57705.c: Ditto.
>
> ---
> gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c | 4 ++--
> gcc/testsuite/gcc.dg/vect/pr57705.c | 4 ++--
> 2
On Sun, 8 Oct 2023, Juzhe-Zhong wrote:
> 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
gcc/testsuite/ChangeLog:
* gcc.dg/vect/bb-slp-cond-1.c: Fix dump FAIL for RVV.
* gcc.dg/vect/pr57705.c: Ditto.
---
gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c | 4 ++--
gcc/testsuite/gcc.dg/vect/pr57705.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
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