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
d02089a5
Commit
d02089a5
authored
Oct 20, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(distribute_notes): Delete instructions without side effect that set a
subreg of an unused register. From-SVN: r10491
parent
089a0f39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/combine.c
+4
-1
No files found.
gcc/combine.c
View file @
d02089a5
...
@@ -10745,7 +10745,10 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
...
@@ -10745,7 +10745,10 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
modified the register. */
modified the register. */
if
(
set
!=
0
&&
!
side_effects_p
(
SET_SRC
(
set
))
if
(
set
!=
0
&&
!
side_effects_p
(
SET_SRC
(
set
))
&&
rtx_equal_p
(
XEXP
(
note
,
0
),
SET_DEST
(
set
)))
&&
(
rtx_equal_p
(
XEXP
(
note
,
0
),
SET_DEST
(
set
))
||
(
GET_CODE
(
SET_DEST
(
set
))
==
SUBREG
&&
rtx_equal_p
(
XEXP
(
note
,
0
),
XEXP
(
SET_DEST
(
set
),
0
)))))
{
{
/* Move the notes and links of TEM elsewhere.
/* Move the notes and links of TEM elsewhere.
This might delete other dead insns recursively.
This might delete other dead insns recursively.
...
...
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