diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-17 15:12:05 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-17 15:12:05 +0000 |
commit | 352444936fa3fa9f773eadbf96913d9d31323eec (patch) | |
tree | 693869f5109ae80dc471c399197f39eba86528e4 /gcc/tree-vect-patterns.c | |
parent | 0354b3627116e996ab12046214d884605caa0256 (diff) | |
download | gcc-352444936fa3fa9f773eadbf96913d9d31323eec.tar.gz |
2012-07-17 Richard Guenther <rguenther@suse.de>
* tree-vect-data-refs.c (vect_get_new_vect_var): Add referenced
vars here, use create_tmp_reg where appropriate.
(vect_create_addr_base_for_vector_ref): Do not add referenced
vars here, use create_tmp_reg where appropriate.
(vect_create_data_ref_ptr): Likewise.
(vect_create_destination_var): Likewise.
(vect_permute_store_chain): Likewise.
(vect_permute_load_chain): Likewise.
* tree-vect-loop-manip.c (vect_create_cond_for_align_checks):
Likewise.
* tree-vect-loop.c (get_initial_def_for_induction): Likewise.
* tree-vect-patterns.c (vect_recog_temp_ssa_var): Likewise.
(vect_handle_widen_op_by_const): Likewise.
* tree-vect-stmts.c (vect_init_vector): Likewise.
(vectorizable_load): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189581 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-patterns.c')
-rw-r--r-- | gcc/tree-vect-patterns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vect-patterns.c b/gcc/tree-vect-patterns.c index 595b9b6730d..05202a8f4c6 100644 --- a/gcc/tree-vect-patterns.c +++ b/gcc/tree-vect-patterns.c @@ -206,7 +206,7 @@ type_conversion_p (tree name, gimple use_stmt, bool check_sign, static tree vect_recog_temp_ssa_var (tree type, gimple stmt) { - tree var = create_tmp_var (type, "patt"); + tree var = create_tmp_reg (type, "patt"); add_referenced_var (var); var = make_ssa_name (var, stmt); @@ -501,7 +501,7 @@ vect_handle_widen_op_by_const (gimple stmt, enum tree_code code, { /* Create a_T = (NEW_TYPE) a_t; */ *oprnd = gimple_assign_rhs1 (def_stmt); - tmp = create_tmp_var (new_type, NULL); + tmp = create_tmp_reg (new_type, NULL); add_referenced_var (tmp); new_oprnd = make_ssa_name (tmp, NULL); new_stmt = gimple_build_assign_with_ops (NOP_EXPR, new_oprnd, *oprnd, |