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
fe0f9c4b
Commit
fe0f9c4b
authored
Oct 29, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(life_analysis): Mark FP live at end of function.
From-SVN: r2655
parent
e28d6e8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
gcc/flow.c
+14
-0
No files found.
gcc/flow.c
View file @
fe0f9c4b
...
...
@@ -861,6 +861,20 @@ life_analysis (f, nregs)
|=
(
REGSET_ELT_TYPE
)
1
<<
(
STACK_POINTER_REGNUM
%
REGSET_ELT_BITS
);
}
/* Mark the frame pointer is needed at the end of the function. If
we end up eliminating it, it will be removed from the live list
of each basic block by reload. */
if
(
n_basic_blocks
>
0
)
{
basic_block_live_at_end
[
n_basic_blocks
-
1
]
[
FRAME_POINTER_REGNUM
/
REGSET_ELT_BITS
]
|=
(
REGSET_ELT_TYPE
)
1
<<
(
FRAME_POINTER_REGNUM
%
REGSET_ELT_BITS
);
basic_block_new_live_at_end
[
n_basic_blocks
-
1
]
[
FRAME_POINTER_REGNUM
/
REGSET_ELT_BITS
]
|=
(
REGSET_ELT_TYPE
)
1
<<
(
FRAME_POINTER_REGNUM
%
REGSET_ELT_BITS
);
}
/* Mark all global registers as being live at the end of the function
since they may be referenced by our caller. */
...
...
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