]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end/113576 - zero padding of vector bools when expanding compares
authorRichard Biener <rguenther@suse.de>
Fri, 9 Feb 2024 07:15:44 +0000 (08:15 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 14 Feb 2024 12:06:31 +0000 (13:06 +0100)
commit5352ede92483b949e811cbdcdfaec5378f3e06d6
treee2bb6631b7c03abf140a8130c9e83ad90dac63a3
parentbbb30f12a7e5ce008f59ec26c9e4cc65ee79fe56
middle-end/113576 - zero padding of vector bools when expanding compares

The following zeros paddings of vector bools when expanding compares
and the mode used for the compare is an integer mode.  In that case
targets cannot distinguish between a 4 element and 8 element vector
compare (both get to the QImode compare optab) so we have to do the
job in the middle-end.

PR middle-end/113576
* expr.cc (do_store_flag): For vector bool compares of vectors
with padding zero that.
* dojump.cc (do_compare_and_jump): Likewise.
gcc/dojump.cc
gcc/expr.cc