]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove code in vectorizer pattern recog relying on vec_cond{u,eq,}
authorRichard Biener <rguenther@suse.de>
Sat, 26 Oct 2024 12:18:37 +0000 (14:18 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 28 Oct 2024 07:54:47 +0000 (08:54 +0100)
commit0942bb85fc55735d1339a26c9473f7ad1f30100e
tree7d08df57fd7eb45f6e0a57b2bee1230082c1ff20
parent75caa17f5cb4e414919baff0435300b549a76eca
Remove code in vectorizer pattern recog relying on vec_cond{u,eq,}

With the intent to rely on vec_cond_mask and vec_cmp patterns
comparisons do not need rewriting into COND_EXPRs that eventually
combine to vec_cond{u,eq,}.

* tree-vect-patterns.cc (check_bool_pattern): For comparisons
we do nothing if we can expand them or we can't replace them
with a ? -1 : 0 condition - but the latter would require
expanding the comparison which we proved we can't.  So do
nothing, aka not think vec_cond{u,eq,} will save us.
gcc/tree-vect-patterns.cc