[dataflow]:PATCH committed to speed up compile time.

Kenneth Zadeck zadeck@naturalbridge.com
Thu Apr 26 23:14:00 GMT 2007


The patch removes some of the calls to update the dataflow information
that are not necessary.

The restructuring in global.c keeps the UR and LIVE problems from being
updated when the UREC problem is being used and the call to df_analyze
was removed from
function.c, which only needs the lr set at the top of the exit block.

this has been bootstrapped and regression tested on x86-32, x86-64, ppc
and ia-64.

kenny

2007-04-26  Kenneth Zadeck <zadeck@naturalbridge.com>

    * df-core.c (df_remove_problem): Allow df_ur and df_live
    problems to be removed.
    * global.c (compute_regsets): Remove df_ur and df_live when
    adding df_urec.
    (rest_of_handle_global_alloc): Add back df_ur and df_live when
    removing df_urec.
    * timevar.def (TV_DF_UD): Renamed to TV_DF_UR.
    * function.c (thread_prologue_and_epilogue_insns): Removed
    call to df_analyze.
    * df-problems.c (problem_UR): Added remove function and renamed TV.
    (problem_LIVE): Added remove function.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: analyze1.diff
Type: text/x-patch
Size: 5355 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070426/8b170709/attachment.bin>


More information about the Gcc-patches mailing list