Re: Fix reductions for fully-masked loops

2019-10-25 Thread Richard Biener
On Thu, Oct 24, 2019 at 9:29 AM Richard Sandiford wrote: > > Now that vectorizable_operation vectorises most loop stmts involved > in a reduction, it needs to be aware of reductions in fully-masked loops. > The LOOP_VINFO_CAN_FULLY_MASK_P parts of vectorizable_reduction now only > apply to cases t

Fix reductions for fully-masked loops

2019-10-24 Thread Richard Sandiford
Now that vectorizable_operation vectorises most loop stmts involved in a reduction, it needs to be aware of reductions in fully-masked loops. The LOOP_VINFO_CAN_FULLY_MASK_P parts of vectorizable_reduction now only apply to cases that use vect_transform_reduction. This new way of doing things is d