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

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


Author: rsandifo
Date: Fri Nov 11 17:06:44 2016
New Revision: 242138

URL: https://gcc.gnu.org/viewcvs?rev=242138&root=gcc&view=rev
Log:
Use scalar_int_mode in simplify_shift_const_1

This patch makes simplify_shift_const_1 use scalar_int_modes
for all code that is specific to scalars rather than vectors.
This includes situations in which the new shift mode is different
from the original one, since the function never changes the mode
of vector shifts.  That in turn makes it more natural to test
for equal modes in simplify_shift_const_1 rather than
try_widen_shift_mode (which only applies to scalars).

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



More information about the Gcc-cvs mailing list