aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@gcc.gnu.org>2006-12-05 18:39:13 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-12-05 18:39:13 +0000
commitae07b4632c474d9bc48dfdeb8dd79ee3f4b36850 (patch)
treecfefb58bb986dfe548ec2f49bd477bcd0fc04cc6 /gcc/passes.c
parentc1ac94fbe900aed88c60ffcbf8eac80c54f3f95e (diff)
downloadgcc-ae07b4632c474d9bc48dfdeb8dd79ee3f4b36850.zip
gcc-ae07b4632c474d9bc48dfdeb8dd79ee3f4b36850.tar.gz
gcc-ae07b4632c474d9bc48dfdeb8dd79ee3f4b36850.tar.bz2
tree-vrp.c (pass_vrp): Remove PROP_smt_usage.
2006-12-05 Daniel Berlin <dberlin@dberlin.org> * tree-vrp.c (pass_vrp): Remove PROP_smt_usage. * tree-complex.c (pass_lower_complex): Ditto. * tree-ssa-ccp.c (pass_ccp): Ditto. (pass_store_ccp): Ditto. * tree-ssa-dom.c (pass_dominator): Ditto. (pass_phi_only_cprop): Ditto. * tree-sra.c (pass_sra): Ditto. * tree-ssa-forwprop.c (pass_forwprop): Ditto. * tree-flow.h (updating_used_alone): Remove. (updating_used_alone): Ditto. * tree-ssa-alias.c (updating_used_alone): Remove variable. (lhs_may_store_to): Remove function. (recalculate_used_alone): Ditto. (compute_may_aliases): Remove used_alone calculation. * tree.h (struct tree_memory_tag): Remove is_used_alone and old_used_alone. Remove SMT_USED_ALONE and SMT_OLD_USED_ALONE. * tree-pass.h (PROP_smt_usage): Remove. * passes.c (execute_todo): Remove used alone recalculation. (execute_one_pass): Ditto. * tree-ssa-operands.c (add_virtual_operand): Remove used_alone stuff. From-SVN: r119550
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 05288b6a..13b3b33 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -721,24 +721,14 @@ execute_todo (unsigned int flags)
if (!flags)
return;
- /* Always recalculate SMT usage before doing anything else. */
- if (flags & TODO_update_smt_usage)
- recalculate_used_alone ();
-
/* Always cleanup the CFG before trying to update SSA . */
if (flags & TODO_cleanup_cfg)
{
- /* CFG Cleanup can cause a constant to prop into an ARRAY_REF. */
- updating_used_alone = true;
-
if (current_loops)
cleanup_tree_cfg_loop ();
else
cleanup_tree_cfg ();
- /* Update the used alone after cleanup cfg. */
- recalculate_used_alone ();
-
/* When cleanup_tree_cfg merges consecutive blocks, it may
perform some simplistic propagation when removing single
valued PHI nodes. This propagation may, in turn, cause the
@@ -835,9 +825,6 @@ execute_one_pass (struct tree_opt_pass *pass)
gcc_assert ((curr_properties & pass->properties_required)
== pass->properties_required);
- if (pass->properties_destroyed & PROP_smt_usage)
- updating_used_alone = true;
-
/* If a dump file name is present, open it if enabled. */
if (pass->static_pass_number != -1)
{
@@ -904,9 +891,6 @@ execute_one_pass (struct tree_opt_pass *pass)
dump_file = NULL;
}
- if (pass->properties_destroyed & PROP_smt_usage)
- updating_used_alone = false;
-
return true;
}