mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-27 12:01:06 +08:00
reorg.c (delete_computation): Comment fixes.
* reorg.c (delete_computation): Comment fixes. * caller-save.c (setup_save_areas): Idem. * sel-sched-dump.c (dump_lv_set): Idem. * rtl.def: Idem. From-SVN: r156759
This commit is contained in:
parent
244e6c5c9f
commit
912eb5a4de
@ -1,3 +1,10 @@
|
||||
2010-02-14 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* reorg.c (delete_computation): Comment fixes.
|
||||
* caller-save.c (setup_save_areas): Idem.
|
||||
* sel-sched-dump.c (dump_lv_set): Idem.
|
||||
* rtl.def: Idem.
|
||||
|
||||
2010-02-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_sched_init): New function.
|
||||
|
@ -549,7 +549,7 @@ setup_save_areas (void)
|
||||
CLEAR_HARD_REG_SET (this_insn_sets);
|
||||
note_stores (PATTERN (insn), mark_set_regs, &this_insn_sets);
|
||||
/* Sibcalls are considered to set the return value,
|
||||
compare flow.c:propagate_one_insn. */
|
||||
compare df-scan.c:df_get_call_refs. */
|
||||
if (SIBLING_CALL_P (insn) && crtl->return_rtx)
|
||||
mark_set_regs (crtl->return_rtx, NULL_RTX, &this_insn_sets);
|
||||
|
||||
|
@ -3253,13 +3253,10 @@ delete_prior_computation (rtx note, rtx insn)
|
||||
|
||||
/* Delete INSN and recursively delete insns that compute values used only
|
||||
by INSN. This uses the REG_DEAD notes computed during flow analysis.
|
||||
If we are running before flow.c, we need do nothing since flow.c will
|
||||
delete dead code. We also can't know if the registers being used are
|
||||
dead or not at this point.
|
||||
|
||||
Otherwise, look at all our REG_DEAD notes. If a previous insn does
|
||||
nothing other than set a register that dies in this insn, we can delete
|
||||
that insn as well.
|
||||
Look at all our REG_DEAD notes. If a previous insn does nothing other
|
||||
than set a register that dies in this insn, we can delete that insn
|
||||
as well.
|
||||
|
||||
On machines with CC0, if CC0 is used in this insn, we may be able to
|
||||
delete the insn that set it. */
|
||||
|
@ -486,7 +486,7 @@ DEF_RTL_EXPR(UMAX, "umax", "ee", RTX_COMM_ARITH)
|
||||
because they can be understood from the machine-mode of the
|
||||
containing MEM. These operations exist in only two cases:
|
||||
1. pushes onto the stack.
|
||||
2. created automatically by the life_analysis pass in flow.c. */
|
||||
2. created automatically by the auto-inc-dec pass. */
|
||||
DEF_RTL_EXPR(PRE_DEC, "pre_dec", "e", RTX_AUTOINC)
|
||||
DEF_RTL_EXPR(PRE_INC, "pre_inc", "e", RTX_AUTOINC)
|
||||
DEF_RTL_EXPR(POST_DEC, "post_dec", "e", RTX_AUTOINC)
|
||||
|
@ -391,7 +391,7 @@ dump_lv_set (regset lv)
|
||||
{
|
||||
sel_print ("{");
|
||||
|
||||
/* This code was adapted from flow.c: dump_regset (). */
|
||||
/* This code was adapted from cfg.c: dump_regset (). */
|
||||
if (lv == NULL)
|
||||
sel_print ("nil");
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user