diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-12 10:11:04 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-12 10:11:04 +0000 |
commit | 8fde4b5b1ff83a913fc730c381f5468f49994332 (patch) | |
tree | 266a9bc23ee1dd47eaa2dd6b1ce2a9e99f2bdc7f /gcc/tree-ssa-pre.c | |
parent | 8dec77fb10e83724ff405045fadfdf7a465df938 (diff) | |
download | gcc-8fde4b5b1ff83a913fc730c381f5468f49994332.tar.gz |
PR rtl-optimization/28071
* tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
(vect_transform_loop): Likewise.
* tree-vectorizer.c (new_loop_vec_info): Likewise.
(new_loop_vec_info): Likewise.
(destroy_loop_vec_info): Likewise.
* tree-dfa.c (create_var_ann): Use GCC_CNEW.
(create_stmt_ann): Likewise.
(create_tree_ann): Rename to ...
(create_tree_common_ann): ... this one; allocate only the common part
of annotations.
* tree-vn.c (set_value_handle): Use get_tree_common_ann.
(get_value_handle): Likewise.
* tree-ssa-pre.c (phi_translate): Delay annotation allocation for
get_tree_common_ann.
* tree-vectorizer.h (set_stmt_info): Take stmt annotation.
(vinfo_for_stmt): Use stmt annotations.
* tree-flow.h (tree_ann_common_t): New type.
(tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
(tree_ann, get_tree_ann, create_tree_ann): New.
* tree-flow-inline.h (get_function_ann): Do more type checking.
(stmt_ann): Likewise.
(tree_ann): Rename to ...
(tree_common_ann): ... this one; return ony common_ann
(get_tree_ann): Rename to ...
(tree_common_ann): This one; return only common_ann.
* tree-vect-patterns.c (vect_pattern_recog_1): Update call
of set_stmt_info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116886 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index f1383b4e435..9c7b89faaf3 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1151,7 +1151,7 @@ phi_translate (tree expr, value_set_t set, basic_block pred, TREE_OPERAND (newexpr, 0) = newop0 == oldop0 ? oldop0 : get_value_handle (newop0); TREE_OPERAND (newexpr, 1) = listchanged ? newarglist : oldarglist; TREE_OPERAND (newexpr, 2) = newop2 == oldop2 ? oldop2 : get_value_handle (newop2); - create_tree_ann (newexpr); + newexpr->common.ann = NULL; vn_lookup_or_add_with_vuses (newexpr, tvuses); expr = newexpr; phi_trans_add (oldexpr, newexpr, pred, tvuses); @@ -1260,7 +1260,7 @@ phi_translate (tree expr, value_set_t set, basic_block pred, } else { - create_tree_ann (newexpr); + newexpr->common.ann = NULL; vn_lookup_or_add_with_vuses (newexpr, newvuses); } expr = newexpr; @@ -1302,7 +1302,7 @@ phi_translate (tree expr, value_set_t set, basic_block pred, } else { - create_tree_ann (newexpr); + newexpr->common.ann = NULL; vn_lookup_or_add (newexpr, NULL); } expr = newexpr; @@ -1335,7 +1335,7 @@ phi_translate (tree expr, value_set_t set, basic_block pred, } else { - create_tree_ann (newexpr); + newexpr->common.ann = NULL; vn_lookup_or_add (newexpr, NULL); } expr = newexpr; |