diff options
author | Richard Guenther <rguenther@suse.de> | 2007-07-02 09:18:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-07-02 09:18:14 +0000 |
commit | 36618b93d0cbf25b1de5ec50998c3430e29c4585 (patch) | |
tree | 8b3a78c0cdf460cfb8a6f13264704d3ffe64d60c /gcc/tree-ssa-dom.c | |
parent | 1c00b50300fc85b1316036dc7da23c302e62222a (diff) | |
download | gcc-36618b93d0cbf25b1de5ec50998c3430e29c4585.zip gcc-36618b93d0cbf25b1de5ec50998c3430e29c4585.tar.gz gcc-36618b93d0cbf25b1de5ec50998c3430e29c4585.tar.bz2 |
tree-flow.h (tree_ssa_useless_type_conversion_1): Rename to ...
2007-07-02 Richard Guenther <rguenther@suse.de>
* tree-flow.h (tree_ssa_useless_type_conversion_1): Rename to ...
(useless_type_conversion_p): ... this.
* tree-ssa.c (tree_ssa_useless_type_conversion_1): Rename to ...
(useless_type_conversion_p): ... this.
* builtins.c (fold_builtin_memory_op): Rename
tree_ssa_useless_type_conversion_1 to useless_type_conversion_p.
* tree-cfg.c (verify_expr): Likewise.
* tree-ssa-address.c (tree_ssa_useless_type_conversion_1): Likewise.
* tree-ssa-ccp.c (ccp_fold): Likewise.
* tree-ssa-copy.c (may_propagate_copy): Likewise.
* tree-ssa-dom.c (eliminate_redundant_computations): Likewise.
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
* tree-ssa-loop-niter.c (refine_bounds_using_guard): Likewise.
* tree-ssa-pre.c (eliminate): Likewise.
* tree-ssa.c (delete_tree_ssa): Likewise.
(tree_ssa_useless_type_conversion): Likewise.
* tree.c (build2_stat): Likewise.
From-SVN: r126194
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 0241155..3b7bacd 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -1515,8 +1515,8 @@ eliminate_redundant_computations (tree stmt) if (cached_lhs && ((TREE_CODE (cached_lhs) != SSA_NAME && (modify_expr_p - || tree_ssa_useless_type_conversion_1 (TREE_TYPE (*expr_p), - TREE_TYPE (cached_lhs)))) + || useless_type_conversion_p (TREE_TYPE (*expr_p), + TREE_TYPE (cached_lhs)))) || may_propagate_copy (*expr_p, cached_lhs))) { if (dump_file && (dump_flags & TDF_DETAILS)) @@ -1541,8 +1541,8 @@ eliminate_redundant_computations (tree stmt) retval = true; if (modify_expr_p - && !tree_ssa_useless_type_conversion_1 (TREE_TYPE (*expr_p), - TREE_TYPE (cached_lhs))) + && !useless_type_conversion_p (TREE_TYPE (*expr_p), + TREE_TYPE (cached_lhs))) cached_lhs = fold_convert (TREE_TYPE (*expr_p), cached_lhs); propagate_tree_value (expr_p, cached_lhs); |