Re: [PATCH 1/2] Allow the target to request a masked vector epilogue

2025-07-06 Thread Richard Biener
On Fri, 4 Jul 2025, Richard Sandiford wrote: > Richard Biener writes: > > @@ -1738,8 +1738,13 @@ protected: > >unsigned int m_suggested_unroll_factor; > > > >/* The suggested mode to be used for a vectorized epilogue or VOIDmode, > > - determined at finish_cost. */ > > + determ

Re: [PATCH 1/2] Allow the target to request a masked vector epilogue

2025-07-04 Thread Richard Sandiford
Richard Biener writes: > @@ -1738,8 +1738,13 @@ protected: >unsigned int m_suggested_unroll_factor; > >/* The suggested mode to be used for a vectorized epilogue or VOIDmode, > - determined at finish_cost. */ > + determined at finish_cost. m_masked_epilogue is epilogue should u

RE: [PATCH 1/2] Allow the target to request a masked vector epilogue

2025-07-04 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Friday, July 4, 2025 10:42 AM > To: gcc-patches@gcc.gnu.org > Cc: Richard Sandiford ; Tamar Christina > > Subject: [PATCH 1/2] Allow the target to request a masked vector epilogue > > Targets recently got

[PATCH 1/2] Allow the target to request a masked vector epilogue

2025-07-04 Thread Richard Biener
Targets recently got the ability to request the vector mode to be used for a vector epilogue (or the epilogue of a vector epilogue). The following adds the ability for it to indicate the epilogue should use loop masking, irrespective of the --param vect-partial-vector-usage default setting. The p