From 3b652cc19b5aa580efb84e265ecdbcc1e1547cd5 Mon Sep 17 00:00:00 2001 From: rguenth Date: Fri, 3 Aug 2012 08:55:43 +0000 Subject: 2012-08-03 Richard Guenther * tree-vect-loop-manip.c (vect_can_advance_ivs_p): Query is_gimple_reg on the SSA name, not its variable. (vect_update_ivs_after_vectorizer): Likewise. * tree-ssa-copyrename.c (rename_ssa_copies): Likewise. * tree-if-conv.c (if_convertible_phi_p): Likewise. (predicate_scalar_phi): Likewise. * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Likewise. (vect_analyze_scalar_cycles_1): Likewise. * tree-ssa-live.c (register_ssa_partition_check): Likewise. * tree-outof-ssa.c (eliminate_useless_phis): Likewise. * tree-ssa-reassoc.c (phi_rank): Likewise. * tree-parloops.c (separate_decls_in_region_name): Use replace_ssa_name_symbol. * tree-predcom.c (base_names_in_chain_on): Likewise. * matrix-reorg.c (update_type_size): Query the type of the SSA name, not its variable. * gimple-ssa-strength-reduction.c (create_mul_ssa_cand): Likewise. (create_mul_imm_cand): Likewise. (create_add_ssa_cand): Likewise. (create_add_imm_cand): Likewise. (slsr_process_add): Likewise. * tree-inline.c (remap_ssa_name): Do not set the type of the new SSA_NAME. * tree-ssa-structalias.c (get_constraint_for_ssa_var): Clarify assert. Check for default def first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190116 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-if-conv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-if-conv.c') diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 7c695185096..56d375a3ce3 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -425,7 +425,7 @@ if_convertible_phi_p (struct loop *loop, basic_block bb, gimple phi) /* When the flag_tree_loop_if_convert_stores is not set, check that there are no memory writes in the branches of the loop to be if-converted. */ - if (!is_gimple_reg (SSA_NAME_VAR (gimple_phi_result (phi)))) + if (!is_gimple_reg (gimple_phi_result (phi))) { imm_use_iterator imm_iter; use_operand_p use_p; @@ -1277,7 +1277,7 @@ predicate_scalar_phi (gimple phi, tree cond, res = gimple_phi_result (phi); /* Do not handle virtual phi nodes. */ - if (!is_gimple_reg (SSA_NAME_VAR (res))) + if (!is_gimple_reg (res)) return; bb = gimple_bb (phi); -- cgit v1.2.1