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
f2d89bc9
Commit
f2d89bc9
authored
Nov 20, 2003
by
James E Wilson
Committed by
Jim Wilson
Nov 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (sets_function_arg_p): Delete unused function.
From-SVN: r73744
parent
1f663989
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
40 deletions
+4
-40
gcc/ChangeLog
+4
-0
gcc/combine.c
+0
-40
No files found.
gcc/ChangeLog
View file @
f2d89bc9
2003-11-19 James E Wilson <wilson@specifixinc.com>
* combine.c (sets_function_arg_p): Delete unused function.
2003-11-19 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Revert 2 previous checkins.
...
...
gcc/combine.c
View file @
f2d89bc9
...
...
@@ -345,7 +345,6 @@ static void setup_incoming_promotions (void);
static
void
set_nonzero_bits_and_sign_copies
(
rtx
,
rtx
,
void
*
);
static
int
cant_combine_insn_p
(
rtx
);
static
int
can_combine_p
(
rtx
,
rtx
,
rtx
,
rtx
,
rtx
*
,
rtx
*
);
static
int
sets_function_arg_p
(
rtx
);
static
int
combinable_i3pat
(
rtx
,
rtx
*
,
rtx
,
rtx
,
int
,
rtx
*
);
static
int
contains_muldiv
(
rtx
);
static
rtx
try_combine
(
rtx
,
rtx
,
rtx
,
int
*
);
...
...
@@ -1205,45 +1204,6 @@ can_combine_p (rtx insn, rtx i3, rtx pred ATTRIBUTE_UNUSED, rtx succ,
return
1
;
}
/* Check if PAT is an insn - or a part of it - used to set up an
argument for a function in a hard register. */
static
int
sets_function_arg_p
(
rtx
pat
)
{
int
i
;
rtx
inner_dest
;
switch
(
GET_CODE
(
pat
))
{
case
INSN
:
return
sets_function_arg_p
(
PATTERN
(
pat
));
case
PARALLEL
:
for
(
i
=
XVECLEN
(
pat
,
0
);
--
i
>=
0
;)
if
(
sets_function_arg_p
(
XVECEXP
(
pat
,
0
,
i
)))
return
1
;
break
;
case
SET
:
inner_dest
=
SET_DEST
(
pat
);
while
(
GET_CODE
(
inner_dest
)
==
STRICT_LOW_PART
||
GET_CODE
(
inner_dest
)
==
SUBREG
||
GET_CODE
(
inner_dest
)
==
ZERO_EXTRACT
)
inner_dest
=
XEXP
(
inner_dest
,
0
);
return
(
GET_CODE
(
inner_dest
)
==
REG
&&
REGNO
(
inner_dest
)
<
FIRST_PSEUDO_REGISTER
&&
FUNCTION_ARG_REGNO_P
(
REGNO
(
inner_dest
)));
default
:
break
;
}
return
0
;
}
/* LOC is the location within I3 that contains its pattern or the component
of a PARALLEL of the pattern. We validate that it is valid for combining.
...
...
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