Prevent interblock move of CC0 setter.

From-SVN: r69992
This commit is contained in:
Vladimir Makarov 2003-07-31 07:56:36 +00:00 committed by Nick Clifton
parent 0fd4ac72a2
commit caf819ae17
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-07-31 Vladimir Makarov <vmakarov@redhat.com>
* sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
setter.
2003-07-30 Roger Sayle <roger@eyesopen.com>
* builtins.def: Alphabetize.

View File

@ -625,6 +625,9 @@ sched_analyze_2 (struct deps *deps, rtx x, rtx insn)
case CC0:
/* User of CC0 depends on immediately preceding insn. */
set_sched_group_p (insn);
/* Don't move CC0 setter to another block (it can set up the
same flag for previous CC0 users which is safe). */
CANT_MOVE (prev_nonnote_insn (insn)) = 1;
return;
#endif