Re: [PATCH] tree-optimization/114151 - revert PR114074 fix

2024-03-19 Thread Jakub Jelinek
On Tue, Mar 19, 2024 at 01:06:50PM +0100, Richard Biener wrote: > The following reverts the chrec_fold_multiply fix and only keeps > handling of constant overflow which keeps the original testcase > fixed. A better solution might involve ranger improvements or > tracking of assumptions during

[PATCH] tree-optimization/114151 - revert PR114074 fix

2024-03-19 Thread Richard Biener
The following reverts the chrec_fold_multiply fix and only keeps handling of constant overflow which keeps the original testcase fixed. A better solution might involve ranger improvements or tracking of assumptions during SCEV analysis similar to what niter analysis does. Bootstrapped and tested