RE: RE: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f

2023-11-30 Thread Li, Pan2
Got it, will have a try for the suggestion. Pan From: juzhe.zh...@rivai.ai Sent: Thursday, November 30, 2023 3:54 PM To: Li, Pan2 ; gcc-patches Cc: Wang, Yanzhang ; kito.cheng Subject: Re: RE: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f I see. Is it possible

RE: RE: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f

2023-11-29 Thread Li, Pan2
: juzhe.zh...@rivai.ai Sent: Thursday, November 30, 2023 3:33 PM To: Li, Pan2 ; gcc-patches Cc: Wang, Yanzhang ; kito.cheng Subject: Re: RE: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f What it the RTX of the operand ? juzhe.zh

RE: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f

2023-11-29 Thread Li, Pan2
Cc: Li, Pan2 ; Wang, Yanzhang ; kito.cheng Subject: Re: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f Why does get_vector_mode doesn't exist a vector mode ? It must exist a vector mode, otherwise, it will cause ICE in oth

Re: [PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f

2023-11-29 Thread juzhe.zh...@rivai.ai
ISC-V: Bugfix for legitimize move when get vec mode in zve32f From: Pan Li When require mode after get_vec_mode in riscv_legitimize_move, there will be precondition that the mode is exists. Or we will have E_VOIDMode and of course have ICE when required. Typically we should first check the mode exis

[PATCH v1] RISC-V: Bugfix for legitimize move when get vec mode in zve32f

2023-11-29 Thread pan2 . li
From: Pan Li When require mode after get_vec_mode in riscv_legitimize_move, there will be precondition that the mode is exists. Or we will have E_VOIDMode and of course have ICE when required. Typically we should first check the mode exists or not before require, or more friendly like leverage e