Re: Fix ICE in get_initial_defs_for_reduction (PR 88567)

2019-01-07 Thread Richard Biener
On Mon, Jan 7, 2019 at 2:27 PM Richard Sandiford wrote: > > The use of "j" in: > > init = permute_results[number_of_vectors - j - 1]; > > was out-of-sync with the new flat loop structure. Now that all that > reversing is gone, we can just use the result of duplicate_and_interleave >

Fix ICE in get_initial_defs_for_reduction (PR 88567)

2019-01-07 Thread Richard Sandiford
The use of "j" in: init = permute_results[number_of_vectors - j - 1]; was out-of-sync with the new flat loop structure. Now that all that reversing is gone, we can just use the result of duplicate_and_interleave directly. The other cases shouldn't be affected by postponing the ins