This is the mail archive of the
mailing list for the GCC project.
r242143 - /branches/ARM/sve-branch/gcc/rtlanal.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:07:37 -0000
- Subject: r242143 - /branches/ARM/sve-branch/gcc/rtlanal.c
Date: Fri Nov 11 17:07:37 2016
New Revision: 242143
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.