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
e39df546
Commit
e39df546
authored
Jul 01, 2017
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* trans-mem.c (split_bb_make_tm_edge): Update profile.
From-SVN: r249871
parent
1099198d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
gcc/ChangeLog
+4
-0
gcc/trans-mem.c
+6
-1
No files found.
gcc/ChangeLog
View file @
e39df546
2017
-
07
-
01
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
2017
-
07
-
01
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
trans
-
mem
.
c
(
split_bb_make_tm_edge
):
Update
profile
.
2017
-
07
-
01
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
tree
-
if
-
conv
.
c
(
combine_blocks
):
Use
make_single_succ_edge
*
tree
-
if
-
conv
.
c
(
combine_blocks
):
Use
make_single_succ_edge
to
keep
profile
consistent
.
to
keep
profile
consistent
.
...
...
gcc/trans-mem.c
View file @
e39df546
...
@@ -3211,7 +3211,12 @@ split_bb_make_tm_edge (gimple *stmt, basic_block dest_bb,
...
@@ -3211,7 +3211,12 @@ split_bb_make_tm_edge (gimple *stmt, basic_block dest_bb,
edge
e
=
split_block
(
bb
,
stmt
);
edge
e
=
split_block
(
bb
,
stmt
);
*
pnext
=
gsi_start_bb
(
e
->
dest
);
*
pnext
=
gsi_start_bb
(
e
->
dest
);
}
}
make_edge
(
bb
,
dest_bb
,
EDGE_ABNORMAL
);
edge
e
=
make_edge
(
bb
,
dest_bb
,
EDGE_ABNORMAL
);
if
(
e
)
{
e
->
probability
=
profile_probability
::
guessed_never
();
e
->
count
=
profile_count
::
guessed_zero
();
}
// Record the need for the edge for the benefit of the rtl passes.
// Record the need for the edge for the benefit of the rtl passes.
if
(
cfun
->
gimple_df
->
tm_restart
==
NULL
)
if
(
cfun
->
gimple_df
->
tm_restart
==
NULL
)
...
...
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