diff options
author | prathamesh.kulkarni <prathamesh.kulkarni@linaro.org> | 2021-10-06 11:21:13 +0530 |
---|---|---|
committer | prathamesh.kulkarni <prathamesh.kulkarni@linaro.org> | 2021-10-06 11:21:13 +0530 |
commit | e76a7a8a807e7ba0e171e953b9b1ff5fa1b0f247 (patch) | |
tree | 2f459d78c89b2bf5c511b5720a9ebd0289378f75 | |
parent | 09d886e671f2230acca082e6579a69b8df8fb202 (diff) | |
download | gcc-e76a7a8a807e7ba0e171e953b9b1ff5fa1b0f247.zip gcc-e76a7a8a807e7ba0e171e953b9b1ff5fa1b0f247.tar.gz gcc-e76a7a8a807e7ba0e171e953b9b1ff5fa1b0f247.tar.bz2 |
[gimple-isel] Remove redundant if condition.
gcc/ChangeLog:
* gimple-isel.cc (gimple_expand_vec_cond_expr): Remove redundant if
condition.
-rw-r--r-- | gcc/gimple-isel.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/gimple-isel.cc b/gcc/gimple-isel.cc index 2c78a08..38e9093 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))) |