Re: Add missing target check for fully-masked fold-left reductions

2019-12-27 Thread Richard Biener
On December 27, 2019 5:02:55 PM GMT+01:00, Richard Sandiford wrote: >The fold-left reduction code has a (rarely-used) fallback that handles >cases in which the loop is fully-masked and the target has no native >support for the reduction. The fallback includea a VEC_COND_EXPR >between the

Add missing target check for fully-masked fold-left reductions

2019-12-27 Thread Richard Sandiford
The fold-left reduction code has a (rarely-used) fallback that handles cases in which the loop is fully-masked and the target has no native support for the reduction. The fallback includea a VEC_COND_EXPR between the reduction vector and a safe value, so we should check whether that VEC_COND_EXPR