re PR target/15869 (No NOP after LW (with -mips1 -O0))

PR target/15869
	* config/mips/mips.c (mips_avoid_hazards): Call split_all_insns_noflow.

From-SVN: r83516
This commit is contained in:
Richard Sandiford 2004-06-22 21:28:05 +00:00 committed by Richard Sandiford
parent 89b4f108d4
commit 987a3c2b9c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-06-22 Richard Sandiford <rsandifo@redhat.com>
PR target/15869
* config/mips/mips.c (mips_avoid_hazards): Call split_all_insns_noflow.
2004-06-22 Alexandre Oliva <aoliva@redhat.com>
* config/mn10300/mn10300.md (movdi, movdf): Use high/low for movu

View File

@ -8907,6 +8907,9 @@ mips_avoid_hazards (void)
rtx insn, last_insn, lo_reg, delayed_reg;
int hilo_delay, i;
/* Force all instructions to be split into their final form. */
split_all_insns_noflow ();
/* Recalculate instruction lengths without taking nops into account. */
cfun->machine->ignore_hazard_length_p = true;
shorten_branches (get_insns ());