This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242137 - /branches/ARM/sve-branch/gcc/combine.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:06:34 -0000
- Subject: r242137 - /branches/ARM/sve-branch/gcc/combine.c
Author: rsandifo
Date: Fri Nov 11 17:06:34 2016
New Revision: 242137
URL: https://gcc.gnu.org/viewcvs?rev=242137&root=gcc&view=rev
Log:
Split scalar integer handling out of force_to_mode
force_to_mode exits partway through for modes that aren't scalar
integers. This patch splits the remainder of the function out
into a subroutine, force_int_to_mode, so that the modes from that
point on can have type scalar_int_mode.
The patch also makes sure that xmode is kept up-to-date with x
and uses xmode instead of GET_MODE (x) throughout.
Modified:
branches/ARM/sve-branch/gcc/combine.c