r242280 - in /branches/ARM/sve-branch/gcc: call...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Nov 11 17:33:00 GMT 2016
Author: rsandifo
Date: Fri Nov 11 17:33:00 2016
New Revision: 242280
URL: https://gcc.gnu.org/viewcvs?rev=242280&root=gcc&view=rev
Log:
Make more use of simplify_gen_binary
This patch replaces various places that previously used:
if (GET_CODE (y) == CONST_INT)
... plus_constant (..., x, [-]INTVAL (y)) ...
else
... gen_rtx_PLUS/MINUS (..., x, y) ...
with single calls to simplify_gen_binary. This allows
them to handle polynomial integers as well as constants.
Modified:
branches/ARM/sve-branch/gcc/calls.c
branches/ARM/sve-branch/gcc/expr.c
More information about the Gcc-cvs
mailing list