summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-14 12:58:16 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-14 12:58:16 +0000
commit72c0c58fb67609987a44ef9533943a598583f72c (patch)
tree6a3c7957aa5ee4c1713897788c88abd7768d644a /gcc/reorg.c
parent494d01693c283acfda74d344e6a1ddb4b3481982 (diff)
downloadgcc-72c0c58fb67609987a44ef9533943a598583f72c.tar.gz
* reorg.c (delete_computation): Comment fixes.
* caller-save.c (setup_save_areas): Idem. * sel-sched-dump.c (dump_lv_set): Idem. * rtl.def: Idem. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index b1de4bec60f..c649dfc9b12 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -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. */