This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][TUPLES] Tuplification of tree-ssa-phiopt.c


Hi Diego,

   Could you please review this? Thanks.

-Doug

2008-04-17  Doug Kwan  <dougkwan@google.com>

        * tree-ssa-phiopt.c (FILE): Uncomment all previously disabled code.
        (tree_ssa_phiopt): Remove FIXME and re-enable code.
        (tree_ssa_cs_elim): Remove FIXME and re-enable code.
        (tree_ssa_phiopt_worker): Tuplify.
        (replace_phi_edge_with_variable): Tuplify.
        (conditional_replacement): Tuplify and simplify optimization logic.
        Construct a boolean tree and let fold and force_gimple_operand_gsi
        to do optimization and code genaration.
        (value_replacement): Tuplify.
        (minmax_replacement): Tuplify.
        (abs_replacement): Tuplify.
        (nt_init_block): Tuplify.
        (cond_store_replacement): Tuplify.
        * gimple.h (gimple_seq_singleton_p): Fix empty sequence bug.
        * passes.c (init_optimization_passes): Re-enable pass_cselim
        and pass_phiopt.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]