This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More forwprop for vectors
- From: Jeff Law <law at redhat dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Jun 2013 12:53:16 -0600
- Subject: Re: More forwprop for vectors
- References: <alpine dot DEB dot 2 dot 02 dot 1306092132530 dot 24602 at stedding dot saclay dot inria dot fr>
On 06/09/13 13:43, Marc Glisse wrote:
Hello,
just adapting yet another function so it also works with vectors.
It seemed convenient to add a new macro. The name sucks (it doesn't
match the semantics of INTEGRAL_TYPE_P), but I didn't want to name it
INTEGER_SCALAR_OR_VECTOR_CONSTANT_P and didn't have any good idea for a
short name.
I'd just use a long name. I can easily see someone getting easily not
being aware that INTEGRAL_CST_P returns true for vectors and as a result
doing something inappropriate.
INTEGER_CST_OR_VECTOR_INTEGER_TYPE_P?
Jeff