This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242280 - in /branches/ARM/sve-branch/gcc: call...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:33:00 -0000
- Subject: r242280 - in /branches/ARM/sve-branch/gcc: call...
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