Patch to improve jump_optimize_1
Richard Henderson
rth@redhat.com
Mon Apr 9 11:21:00 GMT 2001
On Mon, Apr 09, 2001 at 12:07:52AM -0400, John Wehle wrote:
> Why does this piece of code still exist in jump_optimize_1?
Because no one's gotten around to removing it.
> This piece of code does seem a little redundant given the existence of
> delete_trivially_dead_insns. Possibly the whole for loop should just
> be replaced with a call to delete_trivially_dead_insns which also
> addresses the libcall issue. What do you think?
That plus the delete_noop_moves call just above. Plus
it needn't be done only after_regscan, since cse does
its own counting.
r~
More information about the Gcc-patches
mailing list