diff options
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index b732b40..e106f48 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -4119,7 +4119,7 @@ rename_variables_in_stmt (gimple stmt, htab_t map) ssa_op_iter iter; use_operand_p use_p; - FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_USE) + FOR_EACH_SSA_USE_OPERAND (use_p, stmt, iter, SSA_OP_ALL_USES) { tree use = USE_FROM_PTR (use_p); tree new_name = get_new_name_from_old_name (map, use); @@ -4238,8 +4238,6 @@ expand_scalar_variables_expr (tree type, tree op0, enum tree_code code, tree new_name = force_gimple_operand_gsi (gsi, expr, true, NULL, true, GSI_SAME_STMT); - set_symbol_mem_tag (SSA_NAME_VAR (new_name), - symbol_mem_tag (SSA_NAME_VAR (old_name))); return fold_build1 (code, type, new_name); } @@ -4479,7 +4477,7 @@ graphite_copy_stmts_from_block (basic_block bb, basic_block new_bb, htab_t map) operands. */ copy = gimple_copy (stmt); gsi_insert_after (&gsi_tgt, copy, GSI_NEW_STMT); - mark_symbols_for_renaming (copy); + mark_sym_for_renaming (gimple_vop (cfun)); region = lookup_stmt_eh_region (stmt); if (region >= 0) @@ -4488,7 +4486,7 @@ graphite_copy_stmts_from_block (basic_block bb, basic_block new_bb, htab_t map) /* Create new names for all the definitions created by COPY and add replacement mappings for each new name. */ - FOR_EACH_SSA_DEF_OPERAND (def_p, copy, op_iter, SSA_OP_DEF) + FOR_EACH_SSA_DEF_OPERAND (def_p, copy, op_iter, SSA_OP_ALL_DEFS) { tree old_name = DEF_FROM_PTR (def_p); tree new_name = create_new_def_for (old_name, copy, def_p); @@ -4708,8 +4706,8 @@ translate_clast (scop_p scop, struct loop *context_loop, next_e, map); htab_delete (map); loop_iv_stack_remove_constants (ivstack); - update_ssa (TODO_update_ssa); recompute_all_dominators (); + update_ssa (TODO_update_ssa); graphite_verify (); return translate_clast (scop, context_loop, stmt->next, next_e, ivstack); } |