]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/122723 - fix multi-step mask conversion
authorRichard Biener <rguenther@suse.de>
Tue, 18 Nov 2025 07:12:33 +0000 (08:12 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 18 Nov 2025 11:40:54 +0000 (12:40 +0100)
commit596b4fde343b4e89ba627b3c1f02c09b50307e57
treefc97fea0ff8a34bd0c6d49c7a3b84ad26e2a5748
parentac45382d0c06bc1a90ce74e0379e52496ab3bffe
tree-optimization/122723 - fix multi-step mask conversion

The following fixes the logic in multi-step mask conversions with
respect to the case where we need to resort to the sbool variant
of the unpack optabs.  We were testing a wrong condition on when
that would apply in the multi-step case.

PR tree-optimization/122723
* tree-vect-stmts.cc (supportable_widening_operation):
Correct optab to query in the multi-step case when it is
supposed to hit the sbool case.
gcc/tree-vect-stmts.cc