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
d3b9996a
Commit
d3b9996a
authored
Aug 21, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_dummy_reload): Restore original RTX instead of passed IN rtx.
From-SVN: r1928
parent
144499ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
gcc/reload.c
+3
-1
No files found.
gcc/reload.c
View file @
d3b9996a
...
...
@@ -1382,6 +1382,7 @@ find_dummy_reload (real_in, real_out, inloc, outloc, class, for_real)
{
register
int
regno
=
REGNO
(
out
)
+
out_offset
;
int
nwords
=
HARD_REGNO_NREGS
(
regno
,
GET_MODE
(
real_out
));
rtx
saved_rtx
;
/* When we consider whether the insn uses OUT,
ignore references within IN. They don't prevent us
...
...
@@ -1392,6 +1393,7 @@ find_dummy_reload (real_in, real_out, inloc, outloc, class, for_real)
If the insn uses IN elsewhere and it contains OUT,
that counts. We can't be sure it's the "same" operand
so it might not go through this reload. */
saved_rtx
=
*
inloc
;
*
inloc
=
const0_rtx
;
if
(
regno
<
FIRST_PSEUDO_REGISTER
...
...
@@ -1418,7 +1420,7 @@ find_dummy_reload (real_in, real_out, inloc, outloc, class, for_real)
}
}
*
inloc
=
real_in
;
*
inloc
=
saved_rtx
;
}
/* Consider using IN if OUT was not acceptable
...
...
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