r242154 - /branches/ARM/sve-branch/gcc/combine.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Fri Nov 11 17:09:00 GMT 2016


Author: rsandifo
Date: Fri Nov 11 17:09:19 2016
New Revision: 242154

URL: https://gcc.gnu.org/viewcvs?rev=242154&root=gcc&view=rev
Log:
Use scalar_int_mode in a try_combine optimisation

This patch uses scalar_int_modes for:

  /* If I2 is setting a pseudo to a constant and I3 is setting some
     sub-part of it to another constant, merge them by making a new
     constant.  */

This was already implicit, but the danger with just checking
CONST_SCALAR_INT_P is that it can include CC values too.

Modified:
    branches/ARM/sve-branch/gcc/combine.c



More information about the Gcc-cvs mailing list