This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] use bb_has_abnormal_pred in a few places
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Oct 2010 21:46:35 -0700
- Subject: Re: [PATCH] use bb_has_abnormal_pred in a few places
- References: <20101021032457.GD2806@nightcrawler>
On 10/20/2010 8:24 PM, Nathan Froyd wrote:
> The patch below chanages several places to use bb_has_abnormal_pred
> instead of explicit loops.
> * cfgloop.c (flow_loops_find): Call bb_has_abnormal_pred.
> * reload1.c (has_nonexceptional_receiver): Likewise.
> * tree-into-ssa.c (rewrite_update_enter_block): Likewise.
> (create_new_def_for): Likewise.
> * tree-cfgcleanup.c (remove_forwarder_block): Likewise.
> (merge_phi_nodes): Likewise.
> (has_abnormal_incoming_edge_p): Delete.
OK.
Going forward, let's consider a patch that replaces a block of inline
code by identical code wrapped in up in a pre-existing function obvious.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713