This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [032/nnn] poly_int: symbolic_number


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]