Re: [PATCH] tree-optimization/98137 - enhance split_constant_offset range handling

2020-12-04 Thread Jeff Law via Gcc-patches
On 12/4/20 4:45 AM, Richard Biener wrote: > split_constant_offset currently gives up looking at ranges when > dealing with possibly wrapping operations for looking through > conversions when the downstream analysis does not yield a SSA name. > That's overly conservative and we have a nice helper

[PATCH] tree-optimization/98137 - enhance split_constant_offset range handling

2020-12-04 Thread Richard Biener
split_constant_offset currently gives up looking at ranges when dealing with possibly wrapping operations for looking through conversions when the downstream analysis does not yield a SSA name. That's overly conservative and we have a nice helper that can deal with arbitrary expresssions. Use that