From e76a7a8a807e7ba0e171e953b9b1ff5fa1b0f247 Mon Sep 17 00:00:00 2001 From: "prathamesh.kulkarni" Date: Wed, 6 Oct 2021 11:21:13 +0530 Subject: [PATCH] [gimple-isel] Remove redundant if condition. gcc/ChangeLog: * gimple-isel.cc (gimple_expand_vec_cond_expr): Remove redundant if condition. --- gcc/gimple-isel.cc | 3 --- 1 file changed, 3 deletions(-) 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))) -- 2.47.2