This is the mail archive of the
gcc-cvs@gcc.gnu.org
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
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