combine.c (check_promoted_subreg): Do not conditionalize this upon PROMOTE_FUNCTION_RETURN.

* combine.c (check_promoted_subreg): Do not conditionalize this	upon
	PROMOTE_FUNCTION_RETURN.

From-SVN: r30814
This commit is contained in:
David S. Miller 1999-12-06 19:05:45 -08:00 committed by David S. Miller
parent 124d535f9b
commit 601bf25120
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
1999-12-06 David S. Miller <davem@redhat.com>
* combine.c (check_promoted_subreg): Do not conditionalize this upon
PROMOTE_FUNCTION_RETURN.
Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
* regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for

View File

@ -403,9 +403,7 @@ static enum rtx_code simplify_comparison PROTO((enum rtx_code, rtx *, rtx *));
static int reversible_comparison_p PROTO((rtx));
static void update_table_tick PROTO((rtx));
static void record_value_for_reg PROTO((rtx, rtx, rtx));
#ifdef PROMOTE_FUNCTION_RETURN
static void check_promoted_subreg PROTO((rtx, rtx));
#endif
static void record_dead_and_set_regs_1 PROTO((rtx, rtx, void *));
static void record_dead_and_set_regs PROTO((rtx));
static int get_last_value_validate PROTO((rtx *, rtx, int, int));
@ -611,11 +609,9 @@ combine_instructions (f, nregs)
else if (GET_RTX_CLASS (GET_CODE (insn)) == 'i')
{
#ifdef PROMOTE_FUNCTION_RETURN
/* See if we know about function return values before this
insn based upon SUBREG flags. */
check_promoted_subreg (insn, PATTERN (insn));
#endif
/* Try this insn with each insn it links back to. */
@ -11059,7 +11055,6 @@ record_dead_and_set_regs (insn)
note_stores (PATTERN (insn), record_dead_and_set_regs_1, insn);
}
#ifdef PROMOTE_FUNCTION_RETURN
/* If a SUBREG has the promoted bit set, it is in fact a property of the
register present in the SUBREG, so for each such SUBREG go back and
adjust nonzero and sign bit information of the registers that are
@ -11141,7 +11136,6 @@ check_promoted_subreg (insn, x)
}
}
}
#endif
/* Utility routine for the following function. Verify that all the registers
mentioned in *LOC are valid when *LOC was part of a value set when