Commit 357e3f3d by Jim Wilson Committed by Jim Wilson

Fix ia64 scheduler/predicated insn bug report from SAP.

	* sched-deps.c (add_dependence): When elide conditional dependence,
	check that insn doesn't modify cond2.

From-SVN: r45938
parent ed947a96
2001-10-01 Jim Wilson <wilson@redhat.com>
* sched-deps.c (add_dependence): When elide conditional dependence,
check that insn doesn't modify cond2.
2001-10-01 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.h (enum processor_type): Add support
......
......@@ -222,7 +222,12 @@ add_dependence (insn, elem, dep_type)
cond2 = get_condition (elem);
if (cond1 && cond2
&& conditions_mutex_p (cond1, cond2)
&& !modified_in_p (cond1, elem))
/* Make sure first instruction doesn't affect condition of second
instruction if switched. */
&& !modified_in_p (cond1, elem)
/* Make sure second instruction doesn't affect condition of first
instruction if switched. */
&& !modified_in_p (cond2, insn))
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment