https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68595
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ienkovich at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, either we should keep what used to be in _Bool/bool type in scalar code as 0/-1 at all spots, or as 0/1 at all spots, or as non-zero vs. zero, but choose consistently one of those and adjust all the ops accordingly. Say in the last case original bool ~x needs to be vectorized as x == 0. So, is 0/-1 the best choice for all targets?