+2017-03-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/80113
+ * graphite-isl-ast-to-gimple.c (copy_loop_phi_nodes): Do not
+ allocate extra SSA name for PHI def.
+ (add_close_phis_to_outer_loops): Likewise.
+ (add_close_phis_to_merge_points): Likewise.
+ (copy_loop_close_phi_args): Likewise.
+ (copy_cond_phi_nodes): Likewise.
+
2017-03-20 Martin Liska <mliska@suse.cz>
PR middle-end/79753
if (is_gimple_reg (res) && scev_analyzable_p (res, region->region))
continue;
- gphi *new_phi = create_phi_node (SSA_NAME_VAR (res), new_bb);
+ gphi *new_phi = create_phi_node (NULL_TREE, new_bb);
tree new_res = create_new_def_for (res, new_phi,
gimple_phi_result_ptr (new_phi));
set_rename (res, new_res);
if (!bb_contains_loop_close_phi_nodes (bb) || !single_succ_p (bb))
bb = split_edge (e);
- gphi *close_phi = create_phi_node (SSA_NAME_VAR (last_merge_name), bb);
+ gphi *close_phi = create_phi_node (NULL_TREE, bb);
tree res = create_new_def_for (last_merge_name, close_phi,
gimple_phi_result_ptr (close_phi));
set_rename (old_close_phi_name, res);
last_merge_name = add_close_phis_to_outer_loops (last_merge_name, merge_e,
old_close_phi);
- gphi *merge_phi = create_phi_node (SSA_NAME_VAR (old_close_phi_name), new_merge_bb);
+ gphi *merge_phi = create_phi_node (NULL_TREE, new_merge_bb);
tree merge_res = create_new_def_for (old_close_phi_name, merge_phi,
gimple_phi_result_ptr (merge_phi));
set_rename (old_close_phi_name, merge_res);
/* Loop close phi nodes should not be scev_analyzable_p. */
gcc_unreachable ();
- gphi *new_close_phi = create_phi_node (SSA_NAME_VAR (res), new_bb);
+ gphi *new_close_phi = create_phi_node (NULL_TREE, new_bb);
tree new_res = create_new_def_for (res, new_close_phi,
gimple_phi_result_ptr (new_close_phi));
set_rename (res, new_res);
if (virtual_operand_p (res))
continue;
- gphi *new_phi = create_phi_node (SSA_NAME_VAR (res), new_bb);
+ gphi *new_phi = create_phi_node (NULL_TREE, new_bb);
tree new_res = create_new_def_for (res, new_phi,
gimple_phi_result_ptr (new_phi));
set_rename (res, new_res);