Commit 96fd03a4 by Nathan Sidwell Committed by Nathan Sidwell

* config/ms1/ms1.c (ms1_reorg_hazard): Don't count noop moves.

From-SVN: r107821
parent 9e28024a
2005-12-01 Nathan Sidwell <nathan@codesourcery.com>
* config/ms1/ms1.c (ms1_reorg_hazard): Don't count noop moves.
* vec.h (VEC_block_remove): New.
2005-12-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
......
......@@ -1915,7 +1915,16 @@ ms1_reorg_hazard (void)
break;
}
}
count -= INSN_CODE (prev) >= 0;
if (INSN_CODE (prev) >= 0)
{
rtx set = single_set (prev);
/* A noop set will get deleted in a later split pass,
so we can't count on it for hazard avoidance. */
if (!set || !set_noop_p (set))
count--;
}
}
if (rescan)
......
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