code committed to dataflow branch

Kenneth Zadeck
Sun Apr 9 20:39:00 GMT 2006

This code removes all uses of flow from regrename.c  It splits the two
passes that were
in pass_regrename to pass_regrename and pass_cprop.  It also moves the
clear_df pass marker to before these passes.

This patch was bootstrapped and regression tested on three platforms.



2006-04-09  Kenneth Zadeck <>
    * regrename.c (merge_overlapping_regs, regrename_optimize):
    Threaded private instance of df.
    (regrename_optimize): Created private instance of df, removed
    all references or flow.
    (copyprop_hardreg_forward): Removed all references to flow.
    (gate_handle_regrename): Split reg rename and cprop into separate
    (gate_handle_cprop): New function.
    (pass_cprop): New pass structure.
    * tree-pass.h (pass_cprop): New pass structure.
    * passes.c (init_optimization_passes): Added cprop pass and
    moved clear_df pass closer to beginning.    

More information about the Gcc-patches mailing list