loop.c (move_movables): Clear INSN_CODE for eachinsn as we perform register replacements.

* loop.c (move_movables): Clear INSN_CODE for eachinsn as
	we perform register replacements.
	(strength_reduce): Likewise.

From-SVN: r3254
This commit is contained in:
Jeff Law 1993-01-15 14:41:27 -07:00
parent cb25ac928c
commit da0c128ece
1 changed files with 2 additions and 0 deletions

View File

@ -1939,6 +1939,7 @@ move_movables (movables, threshold, insn_count, loop_start, end, nregs)
{
replace_regs (PATTERN (p), reg_map, nregs, 0);
replace_regs (REG_NOTES (p), reg_map, nregs, 0);
INSN_CODE (p) = -1;
}
}
@ -3926,6 +3927,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
{
replace_regs (PATTERN (p), reg_map, max_reg_before_loop, 0);
replace_regs (REG_NOTES (p), reg_map, max_reg_before_loop, 0);
INSN_CODE (p) = -1;
}
/* Unroll loops from within strength reduction so that we can use the