> I see, I can reproduce this when build "-march=rv64gcv -mabi=lp64d -flto -O0
> test.c -o test.elf".
>
> #include <riscv_vector.h>
>
> int
> main ()
> {
> size_t vl = 8;
> vint32m1_t vs1 = {};
> vint32m1_t vs2 = {};
> vint32m1_t vd = __riscv_vadd_vv_i32m1(vs1, vs2, vl);
>
> return (int)&vd;
> }
>
> Pan
Hi, Pan
Any comments on this patch?
I think this patch is quite important, because RVV is completely unavailable on
LTO at
present. In fact, I discovered this ICE while trying to compile some
computational
libraries using LTO. Unfortunately, none of the libraries currently compile
through
properly.
BR
Jin