This is the mail archive of the gcc-cvs@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]

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


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