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
32d55567
Commit
32d55567
authored
12 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
12 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* function.c (dup_block_and_redirect): Update profile.
From-SVN: r191851
parent
252a969e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
gcc/ChangeLog
+4
-0
gcc/function.c
+9
-0
No files found.
gcc/ChangeLog
View file @
32d55567
2012-09-28 Jan Hubicka <jh@suse.cz>
* function.c (dup_block_and_redirect): Update profile.
2012-09-29 Andreas Tobler <andreast@fgznet.ch>
* config.gcc: Replace 'host' with 'target' when configuring for
...
...
This diff is collapsed.
Click to expand it.
gcc/function.c
View file @
32d55567
...
...
@@ -5668,6 +5668,15 @@ dup_block_and_redirect (basic_block bb, basic_block copy_bb, rtx before,
for
(
ei
=
ei_start
(
bb
->
preds
);
(
e
=
ei_safe_edge
(
ei
));
)
if
(
!
bitmap_bit_p
(
need_prologue
,
e
->
src
->
index
))
{
int
freq
=
EDGE_FREQUENCY
(
e
);
copy_bb
->
count
+=
e
->
count
;
copy_bb
->
frequency
+=
EDGE_FREQUENCY
(
e
);
e
->
dest
->
count
-=
e
->
count
;
if
(
e
->
dest
->
count
<
0
)
e
->
dest
->
count
=
0
;
e
->
dest
->
frequency
-=
freq
;
if
(
e
->
dest
->
frequency
<
0
)
e
->
dest
->
frequency
=
0
;
redirect_edge_and_branch_force
(
e
,
copy_bb
);
continue
;
}
...
...
This diff is collapsed.
Click to expand it.
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