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
b803fb99
Commit
b803fb99
authored
Oct 11, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(jump_optimize): Use regno_last_note_uid when deciding
From-SVN: r5727
parent
f1c7ce82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/jump.c
+4
-1
No files found.
gcc/jump.c
View file @
b803fb99
...
...
@@ -540,7 +540,10 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
if
(
set
&&
GET_CODE
(
SET_DEST
(
set
))
==
REG
&&
REGNO
(
SET_DEST
(
set
))
>=
FIRST_PSEUDO_REGISTER
&&
regno_first_uid
[
REGNO
(
SET_DEST
(
set
))]
==
INSN_UID
(
insn
)
&&
regno_last_uid
[
REGNO
(
SET_DEST
(
set
))]
==
INSN_UID
(
insn
)
/* We use regno_last_note_uid so as not to delete the setting
of a reg that's used in notes. A subsequent optimization
might arrange to use that reg for real. */
&&
regno_last_note_uid
[
REGNO
(
SET_DEST
(
set
))]
==
INSN_UID
(
insn
)
&&
!
side_effects_p
(
SET_SRC
(
set
)))
delete_insn
(
insn
);
}
...
...
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