[tuples][patch] Dead Store Elimination

Jakub Staszak kuba@et.pl
Mon Mar 24 20:47:00 GMT 2008


Hi.
Two days ago I sent a patch with tuplifies simple dse.
This patch tuplifies pass_dse AND pass_simple_dse.
Tested on amd64-linux, no regression, several test cases fixed.

   * tree-ssa-dse.c (execute_simple_dse): #if 0 removed,  
bitmap_empty_p condition
   added. (get_stmt_uid): Removed. (record_voperand_set): Arguments  
changed.
   (dse_initialize_block_local_data, memory_ssa_name_same,  
memory_address_same,
   get_kill_of_stmt_lhs, dse_possible_dead_store_p,  
dse_optimize_stmt, dse_record_phis,
   dse_finalize_block, tree_ssa_dse): Tuplified.
   * passes.c (init_optimization_passes): pass_simple_dse and  
pass_dse enabled.
   * testsuite/gcc.dg/tree-ssa/ssa-dse-10.c: {dg-final} changed.
   * testsuite/gcc.dg/tree-ssa/pr30375.c: {dg-final} changed.

-- 
Jakub Staszak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tuples_dse_both.diff
Type: application/octet-stream
Size: 20552 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080324/a9b990d0/attachment.obj>


More information about the Gcc-patches mailing list