Do you mean add a check whether it is vectorized or not?

Sounds reasonable, I can add that in another patch.
---- Replied Message ----
FromJeff Law<jeffreya...@gmail.com>
Date10/09/2023 21:51
ToJuzhe-Zhong<juzhe.zh...@rivai.ai>,
gcc-patches@gcc.gnu.org<gcc-patches@gcc.gnu.org>
Ccrguent...@suse.de<rguent...@suse.de>
SubjectRe: [PATCH] RISC-V Regression test: Fix slp-perm-4.c FAIL for RVV


On 10/9/23 07:39, Juzhe-Zhong wrote:
> RVV vectorize it with stride5 load_lanes.
>
> gcc/testsuite/ChangeLog:
>
>    * gcc.dg/vect/slp-perm-4.c: Adapt test for stride5 load_lanes.
OK.

As a follow-up, would it make sense to test the .vect dump for something
else in the ! {vec_load_lanes && vect_strided5 } case to verify that it
does and continues to be vectorized for that configuration?

jeff

Reply via email to