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
5eeedd4d
Commit
5eeedd4d
authored
Jan 20, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(scan_loop): For the replace_rtx call, copy the rtx that is
being substituted in before the call. From-SVN: r8779
parent
23ed92ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gcc/loop.c
+4
-2
No files found.
gcc/loop.c
View file @
5eeedd4d
...
...
@@ -746,10 +746,12 @@ scan_loop (loop_start, end, nregs)
&&
validate_replace_rtx
(
SET_DEST
(
set
),
SET_SRC
(
set
),
reg_single_usage
[
regno
]))
{
/* Replace any usage in a REG_EQUAL note. */
/* Replace any usage in a REG_EQUAL note. Must copy the
new source, so that we don't get rtx sharing between the
SET_SOURCE and REG_NOTES of insn p. */
REG_NOTES
(
reg_single_usage
[
regno
])
=
replace_rtx
(
REG_NOTES
(
reg_single_usage
[
regno
]),
SET_DEST
(
set
),
SET_SRC
(
set
));
SET_DEST
(
set
),
copy_rtx
(
SET_SRC
(
set
)
));
PUT_CODE
(
p
,
NOTE
);
NOTE_LINE_NUMBER
(
p
)
=
NOTE_INSN_DELETED
;
...
...
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