]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove dead part of bool pattern recognition
authorRichard Biener <rguenther@suse.de>
Sat, 26 Oct 2024 12:29:17 +0000 (14:29 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 30 Oct 2024 09:57:22 +0000 (10:57 +0100)
commite8c3d0f7c19f506c20a621573d4d50497bc79e3c
treebe1163d98d451564b238b2be6756c0420dfbd94f
parent91577f0c8d955bc670ee76d1a8851df336bf240c
Remove dead part of bool pattern recognition

Given we no longer want vcond[u]{,_eq} and VEC_COND_EXPR or COND_EXPR
with embedded GENERIC comparisons the whole check_bool_pattern
and adjust_bool_stmts machinery is dead.  It is effectively dead
after r15-4713-g0942bb85fc5573 and the following patch removes it.

* tree-vect-patterns.cc (check_bool_pattern): Remove.
(adjust_bool_pattern_cast): Likewise.
(adjust_bool_pattern): Likewise.
(sort_after_uid): Likewise.
(adjust_bool_stmts): Likewise.
(vect_recog_bool_pattern): Remove calls to check_bool_pattern
and fold as if it returns false.
gcc/tree-vect-patterns.cc