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
8b760293
Commit
8b760293
authored
Mar 08, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reg_unused_after): Return 0 if see a JUMP_INSN.
From-SVN: r11501
parent
449bf2aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gcc/config/sh/sh.c
+5
-2
No files found.
gcc/config/sh/sh.c
View file @
8b760293
...
...
@@ -2338,7 +2338,7 @@ fp_one_operand (op)
/* Return non-zero if REG is not used after INSN.
We assume REG is a reload reg, and therefore does
not live past labels
or calls or jumps
. */
not live past labels
. It may live past calls or jumps though
. */
int
reg_unused_after
(
reg
,
insn
)
rtx
reg
;
...
...
@@ -2369,11 +2369,14 @@ reg_unused_after (reg, insn)
/* else */
#endif
if
(
code
==
JUMP_INSN
)
return
0
;
/* If this is a sequence, we must handle them all at once.
We could have for instance a call that sets the target register,
and a insn in a delay slot that uses the register. In this case,
we must return 0. */
if
(
code
==
INSN
&&
GET_CODE
(
PATTERN
(
insn
))
==
SEQUENCE
)
else
if
(
code
==
INSN
&&
GET_CODE
(
PATTERN
(
insn
))
==
SEQUENCE
)
{
int
i
;
int
retval
=
0
;
...
...
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