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
6c84e154
Commit
6c84e154
authored
Nov 04, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(optimize_reg_copy_1): If P is a CALL_INSN, count it as being crossed
by SRC since SRC used to die there. From-SVN: r2689
parent
5145eda8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/local-alloc.c
+6
-0
No files found.
gcc/local-alloc.c
View file @
6c84e154
...
@@ -697,6 +697,12 @@ optimize_reg_copy_1 (insn, dest, src)
...
@@ -697,6 +697,12 @@ optimize_reg_copy_1 (insn, dest, src)
int
n_calls
=
0
;
int
n_calls
=
0
;
int
d_n_calls
=
0
;
int
d_n_calls
=
0
;
/* If P is a CALL_INSN, SRC crosses one more call, since it
used to die there. */
if
(
GET_CODE
(
p
)
==
CALL_INSN
)
n_calls
++
;
/* We can do the optimization. Scan forward from INSN again,
/* We can do the optimization. Scan forward from INSN again,
replacing regs as we go. Set FAILED if a replacement can't
replacing regs as we go. Set FAILED if a replacement can't
be done. In that case, we can't move the death note for SRC.
be done. In that case, we can't move the death note for SRC.
...
...
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