]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid bool pattern for vect_extern_defs
authorRichard Biener <rguenther@suse.de>
Mon, 13 Oct 2025 06:22:04 +0000 (08:22 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 13 Oct 2025 07:37:43 +0000 (09:37 +0200)
commit273121cabe28c93dffa18854d42ea33d2406cfc1
tree088cfd82615abb650f7b71a9971bce9c711c4d23
parent70b03019b50a0a7c6219ce89e71e616f5400c339
Avoid bool pattern for vect_extern_defs

The following avoids applying the new bool pattern for binary bitwise
ops when the wrongly typed operand is external or constant as we
cannot handle in-loop conversions of externs.

* tree-vect-patterns.cc (integer_type_for_mask): Add optional
output dt argument.
(vect_recog_bool_pattern): Make sure to not apply the bitwise
binary pattern to an external operand.
gcc/tree-vect-patterns.cc