https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105312
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:33914983cf3734c2f8079963ba49fcc117499ef3 commit r11-10018-g33914983cf3734c2f8079963ba49fcc117499ef3 Author: Richard Biener <rguent...@suse.de> Date: Wed Apr 20 10:17:24 2022 +0200 tree-optimization/105312 - fix ISEL VCOND expansion The following aligns ISEL VEC_COND_EXPR expansion using VCOND with the optab query done by vector lowering. Instead of only allowing the signed optab to provide EQ/NE compares we allow both here though since there seems to be no documented canonicalization. 2022-04-20 Richard Biener <rguent...@suse.de> PR tree-optimization/105312 * gimple-isel.cc (gimple_expand_vec_cond_expr): Query both VCOND and VCONDU for EQ and NE. * gcc.target/arm/pr105312.c: New testcase. (cherry picked from commit 36f1de95a61132f63c0c07ef154abd9f435721ac)