Re: Use canonicalize_math_after_vectorization_p for FMA folds

2018-05-24 Thread Richard Biener
On Thu, May 24, 2018 at 10:07 AM Richard Sandiford < richard.sandif...@linaro.org> wrote: > The folds in r260348 kicked in before vectorisation, which hurts > for two reasons: > (1) the current suboptimal handling of nothrow meant that we could > drop the flag early and so prevent if-convers

Use canonicalize_math_after_vectorization_p for FMA folds

2018-05-24 Thread Richard Sandiford
The folds in r260348 kicked in before vectorisation, which hurts for two reasons: (1) the current suboptimal handling of nothrow meant that we could drop the flag early and so prevent if-conversion (2) some architectures provide more scalar forms than vector forms (true for Advanced SIMD)