[Bug tree-optimization/116081] [15 Regression] Different code generation in the vectorizer with a typedef vs not
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 25 06:09:52 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116081
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2024-07-25
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
if (!VECTOR_BOOLEAN_TYPE_P (vectype))
{
/* The number of units is set according to the smallest scalar
type (or the largest vector size, but we only support one
vector size per vectorization). */
scalar_type = vect_get_smallest_scalar_type (stmt_info,
TREE_TYPE (vectype));
if (scalar_type != TREE_TYPE (vectype))
{
this is obviously a too strict check.
More information about the Gcc-bugs
mailing list