Re: [PATCH] vect: Fix single def-use cycle for ifn reductions [PR108608]

2023-01-31 Thread Richard Biener via Gcc-patches
On Tue, Jan 31, 2023 at 2:08 PM Richard Sandiford via Gcc-patches wrote: > > The patch that added support for fmin/fmax reductions didn't > handle single def-use cycles. In some ways, this seems like > going out of our way to make things slower, but that's a > discussion for another day. > > Test

[PATCH] vect: Fix single def-use cycle for ifn reductions [PR108608]

2023-01-31 Thread Richard Sandiford via Gcc-patches
The patch that added support for fmin/fmax reductions didn't handle single def-use cycles. In some ways, this seems like going out of our way to make things slower, but that's a discussion for another day. Tested on aarch64-linux-gnu & x86_64-linux-gnu. OK for trunk and the GCC 12 branch? Richa