[032/nnn] poly_int: symbolic_number

Jeff Law law@redhat.com
Tue Nov 28 17:45:00 GMT 2017


On 10/23/2017 11:12 AM, Richard Sandiford wrote:
> This patch changes symbol_number::bytepos from a HOST_WIDE_INT
> to a poly_int64.  perform_symbolic_merge can cope with symbolic
> offsets as long as the difference between the two offsets is
> constant.  (This could happen for a constant-sized field that
> occurs at a variable offset, for example.)
> 
> 
> 2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>
> 	    Alan Hayward  <alan.hayward@arm.com>
> 	    David Sherwood  <david.sherwood@arm.com>
> 
> gcc/
> 	* tree-ssa-math-opts.c (symbolic_number::bytepos): Change from
> 	HOST_WIDE_INT to poly_int64.
> 	(perform_symbolic_merge): Update accordingly.
OK.
jeff



More information about the Gcc-patches mailing list