aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2005-07-27 16:28:34 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2005-07-27 16:28:34 +0000
commit2bd1e239eed6f64319af87e9f437eab1ca83d63e (patch)
tree1ce25616a076bf403e50c4f0efdf41ea5dca0507 /gcc/sched-int.h
parent880031e1f9c134581537c61af91d89b7bb033dc7 (diff)
downloadgcc-2bd1e239eed6f64319af87e9f437eab1ca83d63e.zip
gcc-2bd1e239eed6f64319af87e9f437eab1ca83d63e.tar.gz
gcc-2bd1e239eed6f64319af87e9f437eab1ca83d63e.tar.bz2
re PR rtl-optimization/17808 (Scheduler overly conservative in sched-deps)
PR rtl-optimization/17808 * sched-deps.c (sched_get_condition): Enable #if 0'ed code. (sched_insns_conditions_mutex_p): Split out from... (add_dependence): ...here. But don't call it from here. (add_dependence_list): Check sched_insns_conditions_mutex_p before calling add_dependence. (add_dependence_list_and_free): Likewise. (fixup_sched_groups): Likewise. (sched_analyze_1): Likewise. (sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE). (sched_analyze): Likewise. (sched_analyze_insn): Likewise. * sched-ebb.c (add_deps_for_risky_insns): Likewise. * sched-rgn.c (add_branch_dependences): Likewise. Also, add dependencies on all COND_EXEC insns to jumps ending basic blocks when doing intrablock scheduling. * sched-int.h (sched_insns_conditions_mutex_p): Add prototype. From-SVN: r102433
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 47c5855..46ec6e7 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -331,6 +331,7 @@ enum INSN_TRAP_CLASS
extern void print_insn (char *, rtx, int);
/* Functions in sched-deps.c. */
+extern bool sched_insns_conditions_mutex_p (rtx, rtx);
extern int add_dependence (rtx, rtx, enum reg_note);
extern void sched_analyze (struct deps *, rtx, rtx);
extern void init_deps (struct deps *);