diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-02 17:59:46 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-02 17:59:46 +0000 |
commit | ea92ba8003d183cd5defac7bd67254e8ce04f18e (patch) | |
tree | ce74266679e739b6b67a76a1605aab9369fb1ee5 /gcc/sched-deps.c | |
parent | 8a7535caa354b48ba63ee772d6bc72505663b76c (diff) | |
download | gcc-ea92ba8003d183cd5defac7bd67254e8ce04f18e.tar.gz |
* cfgloop.h (struct loop): Update comment.
* cse.c (cse_main): Remove obsolete comment.
* expr.h (gen_cond_trap): Move prototype under functions provided
by optabs.c.
(canonicalize_condition, get_condition): Move to...
* rtl.h (canonicalize_condition, get_condition): ...here.
(branch_target_load_optimize): Add comment that this function is
in bt-load.c.
* loop.c (canonicalize_condition, get_condition): Move to...
* rtlanal.c (canonicalize_condition, get_condition): ...here.
* sched-deps.c (get_condition): Rename to sched_get_condition.
(add_dependence): Update this caller.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89995 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 1df1b47facb..ef53ea602aa 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -101,7 +101,7 @@ static void sched_analyze_1 (struct deps *, rtx, rtx); static void sched_analyze_2 (struct deps *, rtx, rtx); static void sched_analyze_insn (struct deps *, rtx, rtx, rtx); -static rtx get_condition (rtx); +static rtx sched_get_condition (rtx); static int conditions_mutex_p (rtx, rtx); /* Return nonzero if a load of the memory reference MEM can cause a trap. */ @@ -138,7 +138,7 @@ find_insn_list (rtx insn, rtx list) /* Find the condition under which INSN is executed. */ static rtx -get_condition (rtx insn) +sched_get_condition (rtx insn) { rtx pat = PATTERN (insn); rtx src; @@ -218,8 +218,8 @@ add_dependence (rtx insn, rtx elem, enum reg_note dep_type) be dependent. */ if (!CALL_P (insn) && !CALL_P (elem)) { - cond1 = get_condition (insn); - cond2 = get_condition (elem); + cond1 = sched_get_condition (insn); + cond2 = sched_get_condition (elem); if (cond1 && cond2 && conditions_mutex_p (cond1, cond2) /* Make sure first instruction doesn't affect condition of second |