(fill_simple_delay_slots): Don't make copy of insn that references CC0.

From-SVN: r2214
This commit is contained in:
Richard Kenner 1992-09-23 19:22:40 -04:00
parent fd8c9e1cb9
commit d6749decf6

View File

@ -2572,8 +2572,7 @@ fill_simple_delay_slots (first, non_jumps_p)
&& ! insn_sets_resource_p (next_trial, &set, 1)
&& ! insn_sets_resource_p (next_trial, &needed, 1)
#ifdef HAVE_cc0
&& ! (reg_mentioned_p (cc0_rtx, PATTERN (next_trial))
&& ! sets_cc0_p (PATTERN (next_trial)))
&& ! reg_mentioned_p (cc0_rtx, PATTERN (next_trial))
#endif
&& ! (maybe_never && may_trap_p (PATTERN (next_trial)))
&& (next_trial = try_split (PATTERN (next_trial), next_trial, 0))