On Fri, Feb 09, 2024 at 10:24:25AM +0100, Richard Biener wrote: > 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. > > Bootstrapped and tested on x86_64-unknown-linux-gnu. > > OK? > > Thanks, > Richard. > > 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.
LGTM, but please give Richard time to chime in. Jakub