Re: [PATCH] PR tree-optimization/103821 - Prevent exponential range calculations.

2022-01-11 Thread Andrew MacLeod via Gcc-patches
On 1/11/22 02:01, Richard Biener wrote: On Tue, Jan 11, 2022 at 12:28 AM Andrew MacLeod via Gcc-patches wrote: This test case demonstrates an unnoticed exponential situation in range-ops. We end up unrolling the loop, and the pattern of code creates a set of cascading multiplies for which we

Re: [PATCH] PR tree-optimization/103821 - Prevent exponential range calculations.

2022-01-10 Thread Richard Biener via Gcc-patches
On Tue, Jan 11, 2022 at 12:28 AM Andrew MacLeod via Gcc-patches wrote: > > This test case demonstrates an unnoticed exponential situation in range-ops. > > We end up unrolling the loop, and the pattern of code creates a set of > cascading multiplies for which we can precisely evaluate them with >