On 27/02/2024 13:56, Andre Vieira wrote: > > This patch adds support in the target agnostic doloop pass for the detection > of > predicated vectorized hardware loops. Arm is currently the only target that > will make use of this feature. > > gcc/ChangeLog: > > * df-core.cc (df_bb_regno_only_def_find): New helper function. > * df.h (df_bb_regno_only_def_find): Declare new function. > * loop-doloop.cc (doloop_condition_get): Add support for detecting > predicated vectorized hardware loops. > (doloop_modify): Add support for GTU condition checks. > (doloop_optimize): Update costing computation to support alterations to > desc->niter_expr by the backend. > > Co-authored-by: Stam Markianos-Wright <stam.markianos-wri...@arm.com> > --- > gcc/df-core.cc | 15 +++++ > gcc/df.h | 1 + > gcc/loop-doloop.cc | 164 +++++++++++++++++++++++++++------------------ > 3 files changed, 113 insertions(+), 67 deletions(-) >
As discussed, I think we should wait for gcc-15 for this[*]; I know it was initially submitted during stage1 but it's had to go through a lot of revision since then and we're very close to wanting to cut the release branch. R. [*] Unless an independent reviewer wants to sign this off anyway.