From: prathamesh.kulkarni Date: Wed, 6 Oct 2021 05:51:13 +0000 (+0530) Subject: [gimple-isel] Remove redundant if condition. X-Git-Tag: basepoints/gcc-13~4110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e76a7a8a807e7ba0e171e953b9b1ff5fa1b0f247;p=thirdparty%2Fgcc.git [gimple-isel] Remove redundant if condition. gcc/ChangeLog: * gimple-isel.cc (gimple_expand_vec_cond_expr): Remove redundant if condition. --- diff --git a/gcc/gimple-isel.cc b/gcc/gimple-isel.cc index 2c78a08d3f18..38e90933c3ea 100644 --- a/gcc/gimple-isel.cc +++ b/gcc/gimple-isel.cc @@ -260,10 +260,7 @@ gimple_expand_vec_cond_expr (gimple_stmt_iterator *gsi, return gimple_build_call_internal (IFN_VCONDEQ, 5, op0a, op0b, op1, op2, tcode_tree); } - } - if (icode == CODE_FOR_nothing) - { gcc_assert (VECTOR_BOOLEAN_TYPE_P (TREE_TYPE (op0)) && can_compute_op0 && (get_vcond_mask_icode (mode, TYPE_MODE (TREE_TYPE (op0)))