]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Don't pattern match BITFIELD_REF's of non-integrals [PR107226]
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 13 Oct 2022 09:34:27 +0000 (10:34 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 13 Oct 2022 09:34:27 +0000 (10:34 +0100)
commit7f9a7465c863e482708d2a00f5f7ff91ae3a7e0b
tree9920213cbd3ac1cff2cdafe44277d4754203f358
parent7c059880fca175589efc8e06ef458020a005658d
vect: Don't pattern match BITFIELD_REF's of non-integrals [PR107226]

The original patch supported matching the vect_recog_bitfield_ref_pattern for
BITFIELD_REF's where the first operand didn't have a INTEGRAL_TYPE_P type.
That means it would also match vectors, leading to regressions in targets that
supported vectorization of those.

gcc/ChangeLog:

PR tree-optimization/107226
* tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern): Reject
BITFIELD_REF's with non integral typed first operands.
gcc/tree-vect-patterns.cc