diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2006-05-15 20:24:55 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2006-05-15 18:24:55 +0000 |
commit | 95dd3097939517ea3a4f7631407f9300288a98e3 (patch) | |
tree | 766c14ddc673f894d7d8cfdf171c0bcd960c9c28 /gcc/tree.h | |
parent | f8f80cbb624c69bf1397bd71cc5181cebdce43fe (diff) | |
download | gcc-95dd3097939517ea3a4f7631407f9300288a98e3.zip gcc-95dd3097939517ea3a4f7631407f9300288a98e3.tar.gz gcc-95dd3097939517ea3a4f7631407f9300288a98e3.tar.bz2 |
re PR tree-optimization/26830 (Repeated SSA update during loop header copying)
PR tree-optimization/26830
* tree-into-ssa.c (struct ssa_name_info): Add age field.
(info_for_ssa_name, current_info_for_ssa_name_age,
blocks_to_update): New variables.
(get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
(clear_ssa_name_info, initialize_flags_in_bb,
mark_block_for_update): New functions.
(mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
(insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
prepare_def_site_for): Use mark_block_for_update.
(mark_def_interesting): Assert that the processed block is marked in
blocks_to_update. Do not take blocks argument.
(prepare_use_sites_for, prepare_names_to_update): Do not take blocks
argument.
(rewrite_update_init_block, rewrite_update_stmt): Only process
blocks with statements to rewrite.
(delete_update_ssa): Do not clear SSA_NAME_AUX.
(update_ssa): Initialize and free blocks_to_update. Do not
clear flags on statements. Do not use blocks bitmap.
* tree.h (SSA_NAME_AUX): Removed.
(struct tree_ssa_name): Removed aux field.
* print-tree.c (print_node): Do not print SSA_NAME_AUX.
From-SVN: r113799
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1678,10 +1678,6 @@ struct tree_exp GTY(()) #define SSA_NAME_VALUE(N) \ SSA_NAME_CHECK (N)->ssa_name.value_handle -/* Auxiliary pass-specific data. */ -#define SSA_NAME_AUX(N) \ - SSA_NAME_CHECK (N)->ssa_name.aux - #ifndef _TREE_FLOW_H struct ptr_info_def; #endif @@ -1721,9 +1717,6 @@ struct tree_ssa_name GTY(()) as well. */ tree value_handle; - /* Auxiliary information stored with the ssa name. */ - PTR GTY((skip)) aux; - /* Immediate uses list for this SSA_NAME. */ struct ssa_use_operand_d imm_uses; }; |