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]: Speed up SSA-CCP


This speeds up SSA-CCP by moving more things to VARYING in one step instead of two.
Kenneth Zadeck said it was worth about 30-40% performance in their compiler.
SSA-CCP is already fast in our compiler, but it can't hurt to make it faster (this patch can't ever slow it down, since it can only lessen the number of iterations it takes to finish the algorithm, not increase it).



2004-05-22 Daniel Berlin <dberlin@dberlin.org> Kenneth Zadeck <zadeck@naturalbridge.com>

   * tree-ssa-ccp.c (varying_ssa_edges): New worklist.
   (add_var_to_ssa_edges_worklist): Add value argument.
   Update callers.
   Use new worklist.
   (tree_ssa_ccp): Use new worklist.

Attachment: varyingdiff
Description: Binary data


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