Re: [PATCH]middle-end: fix epilog reductions when vector iters peeled [PR113364]

2024-01-23 Thread Richard Biener
On Tue, 23 Jan 2024, Tamar Christina wrote: > Hi All, > > This fixes a bug where vect_create_epilog_for_reduction does not handle the > case where all exits are early exits. In this case we should do like > induction > handling code does and not have a main exit. > > Bootstrapped Regtested on

[PATCH]middle-end: fix epilog reductions when vector iters peeled [PR113364]

2024-01-23 Thread Tamar Christina
Hi All, This fixes a bug where vect_create_epilog_for_reduction does not handle the case where all exits are early exits. In this case we should do like induction handling code does and not have a main exit. Bootstrapped Regtested on x86_64-pc-linux-gnu with --enable-checking=release