]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end/117086 - fixup vec_cond simplifications
authorRichard Biener <rguenther@suse.de>
Fri, 11 Oct 2024 09:46:45 +0000 (11:46 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 11 Oct 2024 10:35:23 +0000 (12:35 +0200)
commitc64ae8377210bde44714d265311ee7bfa2733df9
treeee01915929902fc198943307d6303c0b4b3532c5
parentdd2d4b3fd87241dca658b68b4f9eef533b7fad36
middle-end/117086 - fixup vec_cond simplifications

The following adds missing checks for a vector type result type
to simplifications that end up creating a vec_cond.

PR middle-end/117086
* match.pd ((op (vec_cond ...) ..) -> (vec_cond ...)): Add
missing checks for VECTOR_TYPE_P (type).

* gcc.dg/torture/pr117086.c: New testcase.
gcc/match.pd
gcc/testsuite/gcc.dg/torture/pr117086.c [new file with mode: 0644]