> Any comments on this patch?

I may need some time to go through all details (PS: Sorry I cannot approve 
patches, leave it to juzhe or kito).
Thanks a lot for fixing this.

Pan

-----Original Message-----
From: Jin Ma <ji...@linux.alibaba.com> 
Sent: Monday, September 9, 2024 6:30 PM
To: Li, Pan2 <pan2...@intel.com>; gcc-patches@gcc.gnu.org
Cc: jeffreya...@gmail.com; juzhe.zh...@rivai.ai; kito.ch...@gmail.com; 
jinma.cont...@gmail.com
Subject: Re: [PATCH] RISC-V: Fix ICE for rvv in lto

> 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

Reply via email to