summaryrefslogtreecommitdiff
path: root/gcc/sel-sched.c
diff options
context:
space:
mode:
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-26 11:40:51 +0000
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-26 11:40:51 +0000
commitc53624fbd348540040a860e4903d35c9bedeb79d (patch)
treee2cf568813894a52b11c45de3a130c1125d79816 /gcc/sel-sched.c
parentefc100917c26188fef15995372b9def10dd06bdd (diff)
downloadgcc-c53624fbd348540040a860e4903d35c9bedeb79d.tar.gz
PR rtl-optimization/48144
* sel-sched-ir.c (merge_history_vect): Factor out from ... (merge_expr_data): ... here. (av_set_intersect): Rename to av_set_code_motion_filter. Update all callers. Call merge_history_vect when an expression is found in both sets. * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. gcc/testsuite PR rtl-optimization/48144 * gcc.dg/pr48144.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sel-sched.c')
-rw-r--r--gcc/sel-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c
index e26ddac8fab..9179249ab1a 100644
--- a/gcc/sel-sched.c
+++ b/gcc/sel-sched.c
@@ -6481,7 +6481,7 @@ code_motion_path_driver (insn_t insn, av_set_t orig_ops, ilist_t path,
/* Filter the orig_ops set. */
if (AV_SET_VALID_P (insn))
- av_set_intersect (&orig_ops, AV_SET (insn));
+ av_set_code_motion_filter (&orig_ops, AV_SET (insn));
/* If no more original ops, return immediately. */
if (!orig_ops)