[Bug target/94413] auto-vectorization of isfinite raises FP exception

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 31 09:12:08 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94413

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
in expand_vec_cond_expr_p there is

  if (VECTOR_BOOLEAN_TYPE_P (cmp_op_type)
      && get_vcond_mask_icode (TYPE_MODE (value_type),
                               TYPE_MODE (cmp_op_type)) != CODE_FOR_nothing)
    return true;

which doesn't bother to look at 'code' (though here we don't have
VECTOR_BOOLEAN_TYPE_P).  For the other cases we build test RTL and
check insn operand predicates.


More information about the Gcc-bugs mailing list