Richard Sandiford <rdsandif...@googlemail.com> wrote: >Richard Biener <richard.guent...@gmail.com> writes: >> Richard Sandiford <rdsandif...@googlemail.com> wrote: >>>This started out as an another attempt to find places where we had >>>things like: >>> >>> offset_int x = wi::to_offset (...); >>> x = ...x...; >>> >>>and change them to: >>> >>> offset_int x = ...wi::to_offset (...)...; >>> >>>with the get_ref_base_and_extent case being the main one. >>>But it turned out that some of them were also multiplying or >>>dividing by BITS_PER_UNIT, so it ended up also being a patch to >>>convert those to shifts. >> >> Ok and yes please. > >Thanks. If it's OK I'll wait until after the merge to convert the >existing uses to LOG2_BITS_PER_UNIT.
That's ok with me. Richard. >Richard