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]

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


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


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