Re: [PATCH] Avoid unnecessary epilogues from tree_unroll_loop

2023-03-09 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > The following fixes the condition determining whether we need an > epilogue. > > When r12-2429-g62acc72a957b56 introduced this check I didn't notice > the odd condition on review. Richard - do you remember if this > was on purpose? Oops, no, looks like a

[PATCH] Avoid unnecessary epilogues from tree_unroll_loop

2023-03-09 Thread Richard Biener via Gcc-patches
The following fixes the condition determining whether we need an epilogue. When r12-2429-g62acc72a957b56 introduced this check I didn't notice the odd condition on review. Richard - do you remember if this was on purpose? I've noticed the mismatch with gcc.dg/tree-ssa/predcom-1.c for example. B