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
d20c47fc
Commit
d20c47fc
authored
Jan 19, 2016
by
Bernd Schmidt
Committed by
Bernd Schmidt
Jan 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ira.c (ira): Update regstat data if we deleted insns.
From-SVN: r232556
parent
e4729419
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
gcc/ChangeLog
+5
-1
gcc/ira.c
+11
-3
No files found.
gcc/ChangeLog
View file @
d20c47fc
2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
* ira.c (ira): Update regstat data if we deleted insns.
2016-01-19 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/68955
...
...
@@ -13,7 +17,7 @@
assume that the node has body.
* cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
check.
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
* lto-streamer-out.c (lto_output): Do not stream instrumentation
...
...
gcc/ira.c
View file @
d20c47fc
...
...
@@ -5185,19 +5185,27 @@ ira (FILE *f)
setup_reg_equiv
();
setup_reg_equiv_init
();
bool
update_regstat
=
false
;
if
(
optimize
&&
rebuild_p
)
{
timevar_push
(
TV_JUMP
);
rebuild_jump_labels
(
get_insns
());
if
(
purge_all_dead_edges
())
delete_unreachable_blocks
();
{
delete_unreachable_blocks
();
update_regstat
=
true
;
}
timevar_pop
(
TV_JUMP
);
}
allocated_reg_info_size
=
max_reg_num
();
if
(
delete_trivially_dead_insns
(
get_insns
(),
max_reg_num
()))
df_analyze
();
{
df_analyze
();
update_regstat
=
true
;
}
/* It is not worth to do such improvement when we use a simple
allocation because of -O0 usage or because the function is too
...
...
@@ -5308,7 +5316,7 @@ ira (FILE *f)
check_allocation
();
#endif
if
(
max_regno
!=
max_regno_before_ira
)
if
(
update_regstat
||
max_regno
!=
max_regno_before_ira
)
{
regstat_free_n_sets_and_refs
();
regstat_free_ri
();
...
...
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