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
544823b6
Commit
544823b6
authored
22 years ago
by
Richard Henderson
Committed by
Richard Henderson
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
From-SVN: r55590
parent
f4b2b0d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
gcc/ChangeLog
+4
-0
gcc/loop.c
+8
-6
No files found.
gcc/ChangeLog
View file @
544823b6
2002-07-19 Richard Henderson <rth@redhat.com>
* loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
2002-07-19 Alan Modra <amodra@bigpond.net.au>
* prefix.c (update_path): Don't zap single `.' path components
...
...
This diff is collapsed.
Click to expand it.
gcc/loop.c
View file @
544823b6
...
...
@@ -4875,6 +4875,7 @@ loop_givs_rescan (loop, bl, reg_map)
else
{
rtx
original_insn
=
v
->
insn
;
rtx
note
;
/* Not replaceable; emit an insn to set the original giv reg from
the reduced giv, same as above. */
...
...
@@ -4882,12 +4883,13 @@ loop_givs_rescan (loop, bl, reg_map)
gen_move_insn
(
v
->
dest_reg
,
v
->
new_reg
));
/* The original insn may have a REG_EQUAL note. This note is
now incorrect and may result in invalid substitutions later.
We could just delete the note, but we know that the entire
insn is dead, so we might as well save ourselves the bother
and remove the whole thing. */
delete_insn
(
original_insn
);
/* The original insn may have a REG_EQUAL note. This note is
now incorrect and may result in invalid substitutions later.
The original insn is dead, but may be part of a libcall
sequence, which doesn't seem worth the bother of handling. */
note
=
find_reg_note
(
original_insn
,
REG_EQUAL
,
NULL_RTX
);
if
(
note
)
remove_note
(
original_insn
,
note
);
}
/* When a loop is reversed, givs which depend on the reversed
...
...
This diff is collapsed.
Click to expand it.
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