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
c182df0b
Commit
c182df0b
authored
Aug 21, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(wipe_dead_reg): Make a register mentioned in a REG_INC note die after
the instruction. From-SVN: r10264
parent
36f66f30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
gcc/local-alloc.c
+7
-1
No files found.
gcc/local-alloc.c
View file @
c182df0b
/* Allocate registers within a basic block, for GNU compiler.
Copyright (C) 1987,
1988, 1991, 1993, 1994
Free Software Foundation, Inc.
Copyright (C) 1987,
88, 91, 93, 94, 1995
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -2035,6 +2035,12 @@ wipe_dead_reg (reg, output_p)
}
}
/* If this register is used in an auto-increment address, then extend its
life to after this insn, so that it won't get allocated together with
the result of this insn. */
if
(
!
output_p
&&
find_regno_note
(
this_insn
,
REG_INC
,
regno
))
output_p
=
1
;
if
(
regno
<
FIRST_PSEUDO_REGISTER
)
{
mark_life
(
regno
,
GET_MODE
(
reg
),
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