Re: [PATCH] ranger: Fix up range computation for CLZ [PR116486]

2024-09-02 Thread Richard Biener
On Mon, 2 Sep 2024, Jakub Jelinek wrote: > Hi! > > The initial CLZ gimple-range-op.cc implementation handled just the > case where second argument to .CLZ is equal to prec, but in > r15-1014 I've added also handling of the -1 case. As the following > testcase shows, incorrectly though for the ca

[PATCH] ranger: Fix up range computation for CLZ [PR116486]

2024-09-02 Thread Jakub Jelinek
Hi! The initial CLZ gimple-range-op.cc implementation handled just the case where second argument to .CLZ is equal to prec, but in r15-1014 I've added also handling of the -1 case. As the following testcase shows, incorrectly though for the case where the first argument has [0,0] range. If the s