Re: [PATCH] RISC-V: Expand const_vector with 2 elts per pattern.

2025-08-21 Thread Robin Dapp
This is the one git was complaining about on your end? b4 gets it for me via b4 shazam https://inbox.sourceware.org/gcc-patches/dbtiy6uch8xb.3522x0caqi...@gmail.com/ it's a little mangled: the "Hi," is in there, and there's two different line-breaking lengths. So maybe something's odd wi

Re: [PATCH] RISC-V: Expand const_vector with 2 elts per pattern.

2025-08-12 Thread Jeff Law
On 8/4/25 3:09 AM, Robin Dapp wrote: Hi, In PR121334 we are asked to expand a const_vector of size 4 with poly_int elements.  It has 2 elts per pattern so is neither a const_vector_duplicate nor a const_vector_stepped. We don't allow this kind of constant in legitimate_constant_p but expr ap

Re: [PATCH] RISC-V: Expand const_vector with 2 elts per pattern.

2025-08-12 Thread Palmer Dabbelt
On Sun, 10 Aug 2025 07:29:25 PDT (-0700), jeffreya...@gmail.com wrote: On 8/4/25 3:09 AM, Robin Dapp wrote: Hi, In PR121334 we are asked to expand a const_vector of size 4 with poly_int elements.  It has 2 elts per pattern so is neither a const_vector_duplicate nor a const_vector_stepped. We

Re: [PATCH] RISC-V: Expand const_vector with 2 elts per pattern.

2025-08-10 Thread Jeff Law
On 8/4/25 3:09 AM, Robin Dapp wrote: Hi, In PR121334 we are asked to expand a const_vector of size 4 with poly_int elements.  It has 2 elts per pattern so is neither a const_vector_duplicate nor a const_vector_stepped. We don't allow this kind of constant in legitimate_constant_p but expr ap

Re: [PATCH] RISC-V: Expand const_vector with 2 elts per pattern.

2025-08-06 Thread 钟居哲
LGTM. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2025-08-04 17:09 To: gcc-patches CC: kito.ch...@gmail.com; juzhe.zh...@rivai.ai; jeffreya...@gmail.com; pan2...@intel.com; rdapp@gmail.com Subject: [PATCH] RISC-V: Expand const_vector with 2 elts per pattern. Hi, In PR121334 we are

[PATCH] RISC-V: Expand const_vector with 2 elts per pattern.

2025-08-04 Thread Robin Dapp
Hi, In PR121334 we are asked to expand a const_vector of size 4 with poly_int elements. It has 2 elts per pattern so is neither a const_vector_duplicate nor a const_vector_stepped. We don't allow this kind of constant in legitimate_constant_p but expr apparently still wants us to expand it unde