diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-16 13:40:25 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-16 13:40:25 -0700 |
commit | 26e79d1018d0e6bd50b96f5f3fabb0376e392dff (patch) | |
tree | ac3adfa1c4468b9b4aecc3bd7a72273f41e2f01b /gcc/tree-ssa-copyrename.c | |
parent | d58247a32166e5bb072261dc258a237a8d26a39b (diff) | |
download | gcc-26e79d1018d0e6bd50b96f5f3fabb0376e392dff.zip gcc-26e79d1018d0e6bd50b96f5f3fabb0376e392dff.tar.gz gcc-26e79d1018d0e6bd50b96f5f3fabb0376e392dff.tar.bz2 |
tree-flow.h (struct var_ann_d): Remove has_hidden_use.
* tree-flow.h (struct var_ann_d): Remove has_hidden_use.
* gimple-low.c (expand_var_p): Don't check it.
* tree-ssa-alias.c (setup_pointers_and_addressables): Likewise.
* tree-ssa-copyrename.c (rename_ssa_copies): Likewise.
* tree-ssa-operands.c (add_stmt_operand): Likewise.
* tree-dfa.c (find_hidden_use_vars, find_hidden_use_vars_r): Kill.
(find_referenced_vars): Don't call them.
* tree-flow-inline.h (has_hidden_use, set_has_hidden_use): Kill.
From-SVN: r84830
Diffstat (limited to 'gcc/tree-ssa-copyrename.c')
-rw-r--r-- | gcc/tree-ssa-copyrename.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/tree-ssa-copyrename.c b/gcc/tree-ssa-copyrename.c index a355b2d..c65b828 100644 --- a/gcc/tree-ssa-copyrename.c +++ b/gcc/tree-ssa-copyrename.c @@ -309,9 +309,7 @@ rename_ssa_copies (void) tree lhs = TREE_OPERAND (stmt, 0); tree rhs = TREE_OPERAND (stmt, 1); - if (TREE_CODE (lhs) == SSA_NAME - && !has_hidden_use (SSA_NAME_VAR (lhs)) - && TREE_CODE (rhs) == SSA_NAME) + if (TREE_CODE (lhs) == SSA_NAME && TREE_CODE (rhs) == SSA_NAME) copy_rename_partition_coalesce (map, lhs, rhs, debug); } } @@ -325,10 +323,8 @@ rename_ssa_copies (void) int i; tree res = PHI_RESULT (phi); - /* Do not process virtual SSA_NAMES or variables which have - hidden uses. */ - if (!is_gimple_reg (SSA_NAME_VAR (res)) - || has_hidden_use (SSA_NAME_VAR (res))) + /* Do not process virtual SSA_NAMES. */ + if (!is_gimple_reg (SSA_NAME_VAR (res))) continue; for (i = 0; i < PHI_NUM_ARGS (phi); i++) |