r242120 - in /branches/ARM/sve-branch/gcc: comb...

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


Author: rsandifo
Date: Fri Nov 11 17:03:43 2016
New Revision: 242120

URL: https://gcc.gnu.org/viewcvs?rev=242120&root=gcc&view=rev
Log:
Use is_a <scalar_int_mode> for bitmask optimisations

Explicitly check for scalar_int_mode in code that checks for full-mode
bit operations.  These operations wouldn't work correctly for vector
modes, for example.  In many cases this is enforced also by checking
whether an operand is CONST_INT_P, but there were other cases where the
condition is more indirect.

Modified:
    branches/ARM/sve-branch/gcc/combine.c
    branches/ARM/sve-branch/gcc/ifcvt.c
    branches/ARM/sve-branch/gcc/loop-invariant.c
    branches/ARM/sve-branch/gcc/simplify-rtx.c



More information about the Gcc-cvs mailing list