r242143 - /branches/ARM/sve-branch/gcc/rtlanal.c

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


Author: rsandifo
Date: Fri Nov 11 17:07:37 2016
New Revision: 242143

URL: https://gcc.gnu.org/viewcvs?rev=242143&root=gcc&view=rev
Log:
Make subroutines of nonzero_bits operate on scalar_int_mode

nonzero_bits1 assumed that all bits of a floating-point or vector mode
were needed.  It seems likely that fixed-point modes should have been
handled in the same way.  After excluding those, the only remaining
modes that are likely to be useful are scalar integer ones.

This patch moves the mode class check to nonzero_bits itself, along
with the handling of mode == VOIDmode.  The subroutines of nonzero_bits
can then take scalar_int_modes.

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



More information about the Gcc-cvs mailing list