tree-cfg.c (gimple_split_edge): Avoid reallocating target PHI nodes.
2017-08-22 Richard Biener <rguenther@suse.de> * tree-cfg.c (gimple_split_edge): Avoid reallocating target PHI nodes. From-SVN: r251264
This commit is contained in:
parent
1823c4f69b
commit
2df8ab3dba
@ -1,3 +1,8 @@
|
||||
2017-08-22 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-cfg.c (gimple_split_edge): Avoid reallocating target
|
||||
PHI nodes.
|
||||
|
||||
2017-08-22 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* common.opt (feliminate-dwarf2-dups): Ignore.
|
||||
|
@ -2844,10 +2844,11 @@ gimple_split_edge (edge edge_in)
|
||||
new_bb = create_empty_bb (after_bb);
|
||||
new_bb->frequency = EDGE_FREQUENCY (edge_in);
|
||||
new_bb->count = edge_in->count;
|
||||
new_edge = make_single_succ_edge (new_bb, dest, EDGE_FALLTHRU);
|
||||
|
||||
e = redirect_edge_and_branch (edge_in, new_bb);
|
||||
gcc_assert (e == edge_in);
|
||||
|
||||
new_edge = make_single_succ_edge (new_bb, dest, EDGE_FALLTHRU);
|
||||
reinstall_phi_args (new_edge, e);
|
||||
|
||||
return new_bb;
|
||||
|
Loading…
x
Reference in New Issue
Block a user