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
245ef160
Commit
245ef160
authored
Sep 29, 2012
by
Jan Hubicka
Committed by
Jan Hubicka
Sep 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-call-cdce.c (shrink_wrap_one_built_in_call): Update profile.
From-SVN: r191852
parent
32d55567
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
gcc/ChangeLog
+4
-0
gcc/tree-call-cdce.c
+11
-2
No files found.
gcc/ChangeLog
View file @
245ef160
2012-09-28 Jan Hubicka <jh@suse.cz>
* tree-call-cdce.c (shrink_wrap_one_built_in_call): Update profile.
2012-09-28 Jan Hubicka <jh@suse.cz>
* function.c (dup_block_and_redirect): Update profile.
2012-09-29 Andreas Tobler <andreast@fgznet.ch>
...
...
gcc/tree-call-cdce.c
View file @
245ef160
...
...
@@ -773,8 +773,13 @@ shrink_wrap_one_built_in_call (gimple bi_call)
EDGE_FALSE_VALUE
);
bi_call_in_edge0
->
probability
=
REG_BR_PROB_BASE
*
ERR_PROB
;
bi_call_in_edge0
->
count
=
apply_probability
(
guard_bb0
->
count
,
bi_call_in_edge0
->
probability
);
join_tgt_in_edge_fall_thru
->
probability
=
REG_BR_PROB_BASE
-
bi_call_in_edge0
->
probability
;
inverse_probability
(
bi_call_in_edge0
->
probability
);
join_tgt_in_edge_fall_thru
->
count
=
guard_bb0
->
count
-
bi_call_in_edge0
->
count
;
/* Code generation for the rest of the conditions */
guard_bb
=
guard_bb0
;
...
...
@@ -804,8 +809,12 @@ shrink_wrap_one_built_in_call (gimple bi_call)
bi_call_in_edge
=
make_edge
(
guard_bb
,
bi_call_bb
,
EDGE_TRUE_VALUE
);
bi_call_in_edge
->
probability
=
REG_BR_PROB_BASE
*
ERR_PROB
;
bi_call_in_edge
->
count
=
apply_probability
(
guard_bb
->
count
,
bi_call_in_edge
->
probability
);
guard_bb_in_edge
->
probability
=
REG_BR_PROB_BASE
-
bi_call_in_edge
->
probability
;
inverse_probability
(
bi_call_in_edge
->
probability
);
guard_bb_in_edge
->
count
=
guard_bb
->
count
-
bi_call_in_edge
->
count
;
}
VEC_free
(
gimple
,
heap
,
conds
);
...
...
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