r252686 - in /branches/range-gen2/gcc: ChangeLo...

aldyh@gcc.gnu.org aldyh@gcc.gnu.org
Wed Sep 13 17:54:00 GMT 2017


Author: aldyh
Date: Wed Sep 13 17:54:23 2017
New Revision: 252686

URL: https://gcc.gnu.org/viewcvs?rev=252686&root=gcc&view=rev
Log:
[50/77] Add helper routines for SUBREG_PROMOTED_VAR_P subregs

When subregs contain promoted values, as indicated by
SUBREG_PROMOTED_VAR_P, both the unpromoted (outer) and
promoted (inner) values are known to be scalar integers.
This patch adds helper routines that get the modes as
scalar_int_modes.

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@arm.com>

gcc/
	* rtl.h (subreg_unpromoted_mode, subreg_promoted_mode): New functions.
	* expr.c (convert_move): Use them.
	(convert_modes): Likewise.
	(store_expr_with_bounds): Likewise.

Modified:
    branches/range-gen2/gcc/ChangeLog
    branches/range-gen2/gcc/expr.c
    branches/range-gen2/gcc/rtl.h



More information about the Gcc-cvs mailing list