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
4090a6b3
Commit
4090a6b3
authored
Dec 10, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(get_last_value): Never use value from later insn, even if reg is only
set once. From-SVN: r2856
parent
89e8a20f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gcc/combine.c
+4
-5
No files found.
gcc/combine.c
View file @
4090a6b3
...
@@ -8803,12 +8803,11 @@ get_last_value (x)
...
@@ -8803,12 +8803,11 @@ get_last_value (x)
return
0
;
return
0
;
/* If the value was set in a later insn that the ones we are processing,
/* If the value was set in a later insn that the ones we are processing,
we can't use it
, but make a quick check to see if the previous insn
we can't use it
even if the register was only set once, but make a quick
set it to something. This is commonly the case when the same pseudo
check to see if the previous insn set it to something. This is commonly
is used by repeated insns. */
the case when the same pseudo
is used by repeated insns. */
if
(
reg_n_sets
[
regno
]
!=
1
if
(
INSN_CUID
(
reg_last_set
[
regno
])
>=
subst_low_cuid
)
&&
INSN_CUID
(
reg_last_set
[
regno
])
>=
subst_low_cuid
)
{
{
rtx
insn
,
set
;
rtx
insn
,
set
;
...
...
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