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
7b16da78
Commit
7b16da78
authored
Oct 23, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Oct 23, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (life_analysis_1): Delete CLOBBER insns after reload.
From-SVN: r23257
parent
ca3bf2b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
gcc/ChangeLog
+2
-0
gcc/flow.c
+17
-0
No files found.
gcc/ChangeLog
View file @
7b16da78
...
...
@@ -26,6 +26,8 @@ Fri Oct 23 15:34:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri
Oct
23
13
:
12
:
35
1998
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
flow
.
c
(
life_analysis_1
)
:
Delete
CLOBBER
insns
after
reload
.
*
mn10200
.
md
(
truncated
shift
)
:
Accept
constant
inputs
too
.
Fri
Oct
23
04
:
06
:
57
1998
Richard
Earnshaw
(
rearnsha
@arm
.
com
)
...
...
gcc/flow.c
View file @
7b16da78
...
...
@@ -1358,6 +1358,23 @@ life_analysis_1 (f, nregs)
if
(
reload_completed
)
bcopy
(
regs_ever_live
,
save_regs_ever_live
,
(
sizeof
(
regs_ever_live
)));
/* Also remove all CLOBBER insns after reload. They can cause us to think
a value is dead when it really is not dead. */
if
(
reload_completed
)
{
rtx
insn
;
for
(
insn
=
f
;
insn
;
insn
=
NEXT_INSN
(
insn
))
{
if
(
GET_CODE
(
insn
)
==
INSN
&&
GET_CODE
(
PATTERN
(
insn
))
==
CLOBBER
)
{
PUT_CODE
(
insn
,
NOTE
);
NOTE_LINE_NUMBER
(
insn
)
=
NOTE_INSN_DELETED
;
NOTE_SOURCE_FILE
(
insn
)
=
0
;
}
}
}
bzero
(
regs_ever_live
,
sizeof
regs_ever_live
);
/* Allocate and zero out many data structures
...
...
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