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
5af91171
Commit
5af91171
authored
Jul 05, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(try_combine): If I2DEST was used in I2SRC, it isn't unused just
because there is no SET for I2 anymore. From-SVN: r7653
parent
99d3d26e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/combine.c
+2
-2
No files found.
gcc/combine.c
View file @
5af91171
...
@@ -2262,7 +2262,7 @@ try_combine (i3, i2, i1)
...
@@ -2262,7 +2262,7 @@ try_combine (i3, i2, i1)
/* If the reg formerly set in I2 died only once and that was in I3,
/* If the reg formerly set in I2 died only once and that was in I3,
zero its use count so it won't make `reload' do any work. */
zero its use count so it won't make `reload' do any work. */
if
(
!
added_sets_2
&&
newi2pat
==
0
)
if
(
!
added_sets_2
&&
newi2pat
==
0
&&
!
i2dest_in_i2src
)
{
{
regno
=
REGNO
(
i2dest
);
regno
=
REGNO
(
i2dest
);
reg_n_sets
[
regno
]
--
;
reg_n_sets
[
regno
]
--
;
...
@@ -2286,7 +2286,7 @@ try_combine (i3, i2, i1)
...
@@ -2286,7 +2286,7 @@ try_combine (i3, i2, i1)
record_value_for_reg
(
i1dest
,
i1_insn
,
i1_val
);
record_value_for_reg
(
i1dest
,
i1_insn
,
i1_val
);
regno
=
REGNO
(
i1dest
);
regno
=
REGNO
(
i1dest
);
if
(
!
added_sets_1
)
if
(
!
added_sets_1
&&
!
i1dest_in_i1src
)
{
{
reg_n_sets
[
regno
]
--
;
reg_n_sets
[
regno
]
--
;
if
(
reg_n_sets
[
regno
]
==
0
if
(
reg_n_sets
[
regno
]
==
0
...
...
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