Re: [PATCH 2/2] RISC-V: Allow uninitialized preferred_else_value for RVV

2024-07-11 Thread Richard Biener
On Thu, Jul 11, 2024 at 2:45 PM YunQiang Su wrote: > > Richard Biener 于2024年7月11日周四 20:21写道: > > > > On Thu, Jul 11, 2024 at 2:13 PM YunQiang Su wrote: > > > > > > From: YunQiang Su > > > > > > PR target/115840. > > > > > > In riscv_preferred_else_value, we create an uninitialized tmp var > > >

Re: [PATCH 2/2] RISC-V: Allow uninitialized preferred_else_value for RVV

2024-07-11 Thread YunQiang Su
Richard Biener 于2024年7月11日周四 20:21写道: > > On Thu, Jul 11, 2024 at 2:13 PM YunQiang Su wrote: > > > > From: YunQiang Su > > > > PR target/115840. > > > > In riscv_preferred_else_value, we create an uninitialized tmp var > > for else value, instead of the 0 (as default_preferred_else_value) > > or

Re: [PATCH 2/2] RISC-V: Allow uninitialized preferred_else_value for RVV

2024-07-11 Thread Richard Biener
On Thu, Jul 11, 2024 at 2:13 PM YunQiang Su wrote: > > From: YunQiang Su > > PR target/115840. > > In riscv_preferred_else_value, we create an uninitialized tmp var > for else value, instead of the 0 (as default_preferred_else_value) > or the pre-exists VAR (as aarch64 does), so that we can use a

[PATCH 2/2] RISC-V: Allow uninitialized preferred_else_value for RVV

2024-07-11 Thread YunQiang Su
From: YunQiang Su PR target/115840. In riscv_preferred_else_value, we create an uninitialized tmp var for else value, instead of the 0 (as default_preferred_else_value) or the pre-exists VAR (as aarch64 does), so that we can use agnostic policy. The problem is that `warn_uninit` will emit a war