This code has been dead at least since the move over to tuples
in
0-88576-g726a989a8b74bf, when gimple returns could only have
a simple expression in it. So let's remove it.
Bootstrapped and tested on x86_64-linux-gnu with no regressions.
gcc/ChangeLog:
PR tree-optimization/115721
* tree-complex.cc (expand_complex_comparison): Remove
support for GIMPLE_RETURN.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
switch (gimple_code (stmt))
{
- case GIMPLE_RETURN:
- {
- greturn *return_stmt = as_a <greturn *> (stmt);
- type = TREE_TYPE (gimple_return_retval (return_stmt));
- gimple_return_set_retval (return_stmt, fold_convert (type, cc));
- }
- break;
-
case GIMPLE_ASSIGN:
type = TREE_TYPE (gimple_assign_lhs (stmt));
gimple_assign_set_rhs_from_tree (gsi, fold_convert (type, cc));