RE: [PATCH v1] EXPMED: Allow vector mode for DSE extract_low_bits [PR111720]

2023-11-02 Thread Li, Pan2
e > order for example. This should be one problem here, I may need more consideration here regarding different backends. Pan -Original Message- From: Richard Biener Sent: Thursday, November 2, 2023 4:20 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanz

Re: [PATCH v1] EXPMED: Allow vector mode for DSE extract_low_bits [PR111720]

2023-11-02 Thread Richard Biener
On Thu, Nov 2, 2023 at 4:15 AM wrote: > > From: Pan Li > > The extract_low_bits only try the scalar mode if the bitsize of > the mode and src_mode is not equal. When vector mode is given > from get_stored_val in DSE, it will always fail and return NULL_RTX. > > This patch would like to allow the