Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
8e43e9cd
Commit
8e43e9cd
authored
Nov 16, 2017
by
Jan Hubicka
Committed by
Jan Hubicka
Nov 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.
From-SVN: r254813
parent
62003be5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/ChangeLog
+4
-0
gcc/tree-cfg.c
+0
-2
No files found.
gcc/ChangeLog
View file @
8e43e9cd
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
>
2017
-
11
-
14
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
cfg
.
c
(
scale_bbs_frequencies_int
,
*
cfg
.
c
(
scale_bbs_frequencies_int
,
gcc/tree-cfg.c
View file @
8e43e9cd
...
@@ -1050,7 +1050,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
...
@@ -1050,7 +1050,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
{
{
struct
omp_region
*
cur_region
=
NULL
;
struct
omp_region
*
cur_region
=
NULL
;
profile_count
cnt
=
profile_count
::
zero
();
profile_count
cnt
=
profile_count
::
zero
();
int
freq
=
0
;
bool
all
=
true
;
bool
all
=
true
;
int
cur_omp_region_idx
=
0
;
int
cur_omp_region_idx
=
0
;
...
@@ -1066,7 +1065,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
...
@@ -1066,7 +1065,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
cnt
+=
e
->
count
();
cnt
+=
e
->
count
();
else
else
all
=
false
;
all
=
false
;
freq
+=
EDGE_FREQUENCY
(
e
);
}
}
tree_guess_outgoing_edge_probabilities
(
bb
);
tree_guess_outgoing_edge_probabilities
(
bb
);
if
(
all
||
profile_status_for_fn
(
cfun
)
==
PROFILE_READ
)
if
(
all
||
profile_status_for_fn
(
cfun
)
==
PROFILE_READ
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment