tree-cfg.c (thread_jumps_from_bb): Speed up by extracting edge information when...
* tree-cfg.c (thread_jumps_from_bb): Speed up by extracting edge information when we commit ourselves to threading a particular jump. From-SVN: r89462
This commit is contained in:
parent
afc3f39603
commit
385efa80b7
@ -1,3 +1,9 @@
|
|||||||
|
2004-10-22 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
|
* tree-cfg.c (thread_jumps_from_bb): Speed up by extracting
|
||||||
|
edge information when we commit ourselves to threading a
|
||||||
|
particular jump.
|
||||||
|
|
||||||
2004-10-22 Kazu Hirata <kazu@cs.umass.edu>
|
2004-10-22 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* tree-cfg.c (thread_jumps): Speed up by putting basic blocks
|
* tree-cfg.c (thread_jumps): Speed up by putting basic blocks
|
||||||
|
@ -3788,9 +3788,6 @@ thread_jumps_from_bb (basic_block bb)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
count = e->count;
|
|
||||||
freq = EDGE_FREQUENCY (e);
|
|
||||||
|
|
||||||
/* Now walk through as many forwarder blocks as possible to find
|
/* Now walk through as many forwarder blocks as possible to find
|
||||||
the ultimate destination we want to thread our jump to. */
|
the ultimate destination we want to thread our jump to. */
|
||||||
last = EDGE_SUCC (e->dest, 0);
|
last = EDGE_SUCC (e->dest, 0);
|
||||||
@ -3839,6 +3836,8 @@ thread_jumps_from_bb (basic_block bb)
|
|||||||
|
|
||||||
/* Perform the redirection. */
|
/* Perform the redirection. */
|
||||||
retval = true;
|
retval = true;
|
||||||
|
count = e->count;
|
||||||
|
freq = EDGE_FREQUENCY (e);
|
||||||
old_dest = e->dest;
|
old_dest = e->dest;
|
||||||
e = redirect_edge_and_branch (e, dest);
|
e = redirect_edge_and_branch (e, dest);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user