https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94343
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The patch I've posted - https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542774.html - solves it by disabling the problematic masked cases in the condition. Or we could just disable the masking on the insn altogether, the expander will not need those.