> On 21 Nov 2026, at 16:17, Jeff Law <[email protected]> wrote:
>
>
>
> On 11/16/26 7:50 AM, Kyrylo Tkachov wrote:
>> Ping.
>> https://gcc.gnu.org/pipermail/gcc-patches/2026-November/737202.html
> LGTM and Sashiko clean. The ifcvt changes are OK for the trunk.
>
> I'm curious about this one -- any particular benchmark where this shows up in
> a meaningful way, or is it something pretty small that you happened to see
> and just fix? Naturally if it works well in practice we'd likely want to do
> the same thing for RISC-V.
>
Thanks for the review.
The in-loop heuristic was added in GCC 16 to address PR123017, which was overly
aggressive ifcvt in loops resulting in zstd regressing. The heuristic fixed
that, but it turns out it was overly aggressive and triggering outside of loops
as well, which is what this patch fixes.
Kyrill
> Jeff