diff options
author | Jan Hubicka <jh@suse.cz> | 2005-05-28 20:03:56 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-05-28 18:03:56 +0000 |
commit | d416304e6dd69fced760e15912444cb3085a4d6b (patch) | |
tree | dd229dc2bdb52fc7314fe74408a642d2f50015b1 /gcc/tree-ssa-threadupdate.c | |
parent | eaef357b0fc6b96846d872afeb0afedd0f8fe24b (diff) | |
download | gcc-d416304e6dd69fced760e15912444cb3085a4d6b.zip gcc-d416304e6dd69fced760e15912444cb3085a4d6b.tar.gz gcc-d416304e6dd69fced760e15912444cb3085a4d6b.tar.bz2 |
tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis): Update profile.
* tree-ssa-threadupdate.c: (create_edge_and_update_destination_phis):
Update profile.
* value-prof.c (tree_divmod_fixed_value_transform): Be more verbose in
debug output.
(tree_mod_subtract): Fix profile updating code.
(tree_divmod_values_to_profile): Do not produce useless value profilers
for divisions.
* tree-prof.exp: Fix comment.
* value-prof-1.c: New.
* value-prof-2.c: New.
* value-prof-3.c: New.
* value-prof-4.c: New.
From-SVN: r100298
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index f6bf1db..3034638 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -299,6 +299,9 @@ create_edge_and_update_destination_phis (struct redirection_data *rd) edge e = make_edge (rd->dup_block, rd->outgoing_edge->dest, EDGE_FALLTHRU); tree phi; + e->probability = REG_BR_PROB_BASE; + e->count = rd->dup_block->count; + /* If there are any PHI nodes at the destination of the outgoing edge from the duplicate block, then we will need to add a new argument to them. The argument should have the same value as the argument |