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
c80150b7
Commit
c80150b7
authored
Mar 29, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Mar 29, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* local-alloc.c (reg_classes_overlap_p): Delete dead function.
From-SVN: r18891
parent
31ed227b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
gcc/ChangeLog
+2
-0
gcc/local-alloc.c
+0
-25
No files found.
gcc/ChangeLog
View file @
c80150b7
Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
* local-alloc.c (reg_classes_overlap_p): Delete dead function.
* tree.h (lang_print_xnode): Provide prototype.
Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
...
...
gcc/local-alloc.c
View file @
c80150b7
...
...
@@ -257,8 +257,6 @@ static int qty_compare PROTO((int, int));
static
int
qty_compare_1
PROTO
((
const
GENERIC_PTR
,
const
GENERIC_PTR
));
static
int
combine_regs
PROTO
((
rtx
,
rtx
,
int
,
int
,
rtx
,
int
));
static
int
reg_meets_class_p
PROTO
((
int
,
enum
reg_class
));
static
int
reg_classes_overlap_p
PROTO
((
enum
reg_class
,
enum
reg_class
,
int
));
static
void
update_qty_class
PROTO
((
int
,
int
));
static
void
reg_is_set
PROTO
((
rtx
,
rtx
));
static
void
reg_is_born
PROTO
((
rtx
,
int
));
...
...
@@ -1747,29 +1745,6 @@ reg_meets_class_p (reg, class)
||
reg_class_subset_p
(
class
,
rclass
));
}
/* Return 1 if the two specified classes have registers in common.
If CALL_SAVED, then consider only call-saved registers. */
static
int
reg_classes_overlap_p
(
c1
,
c2
,
call_saved
)
register
enum
reg_class
c1
;
register
enum
reg_class
c2
;
int
call_saved
;
{
HARD_REG_SET
c
;
int
i
;
COPY_HARD_REG_SET
(
c
,
reg_class_contents
[(
int
)
c1
]);
AND_HARD_REG_SET
(
c
,
reg_class_contents
[(
int
)
c2
]);
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
if
(
TEST_HARD_REG_BIT
(
c
,
i
)
&&
(
!
call_saved
||
!
call_used_regs
[
i
]))
return
1
;
return
0
;
}
/* Update the class of QTY assuming that REG is being tied to it. */
static
void
...
...
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