projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62003be
)
* tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.
author
Jan Hubicka
<hubicka@ucw.cz>
Thu, 16 Nov 2017 11:21:42 +0000
(12:21 +0100)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Thu, 16 Nov 2017 11:21:42 +0000
(11:21 +0000)
From-SVN: r254813
gcc/ChangeLog
patch
|
blob
|
history
gcc/tree-cfg.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 1c1944ef2129fbd927eca971c767785388f17e46..eaf4c8e97892e7ae733d63ec4c049ad8c621af2b 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2017-11-16 Jan Hubicka <hubicka@ucw.cz>
+
+ * tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.
+
2017-11-14 Jan Hubicka <hubicka@ucw.cz>
* cfg.c (scale_bbs_frequencies_int,
diff --git
a/gcc/tree-cfg.c
b/gcc/tree-cfg.c
index f08a0547f0f7de1aeab8885b676774d4c6e625ef..1772185f033648b37b36d28df5abff21dc4be82c 100644
(file)
--- a/
gcc/tree-cfg.c
+++ b/
gcc/tree-cfg.c
@@
-1050,7
+1050,6
@@
gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
{
struct omp_region *cur_region = NULL;
profile_count cnt = profile_count::zero ();
- int freq = 0;
bool all = true;
int cur_omp_region_idx = 0;
@@
-1066,7
+1065,6
@@
gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
cnt += e->count ();
else
all = false;
- freq += EDGE_FREQUENCY (e);
}
tree_guess_outgoing_edge_probabilities (bb);
if (all || profile_status_for_fn (cfun) == PROFILE_READ)