Re: [PATCH 2/5] fend off anti-ranges from value-range-storage

2023-03-01 Thread Aldy Hernandez via Gcc-patches
OK. Thanks. On Tue, Feb 28, 2023 at 2:48 PM Richard Biener via Gcc-patches wrote: > > The following avoids the need to special-case storage requirement > and copying for irange_storage_slot by making sure we canonicalize > such ranges to int_range<2>. > > * tree-ssanames.cc (range_info_s

[PATCH 2/5] fend off anti-ranges from value-range-storage

2023-02-28 Thread Richard Biener via Gcc-patches
The following avoids the need to special-case storage requirement and copying for irange_storage_slot by making sure we canonicalize such ranges to int_range<2>. * tree-ssanames.cc (range_info_set_range): If receiving an anti-range recurse with a temporary int_range<2>. * v