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
3adde2a5
Commit
3adde2a5
authored
Aug 02, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subst_prev_insn): Remove variable and all uses.
From-SVN: r7852
parent
2454c8d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
18 deletions
+6
-18
gcc/combine.c
+6
-18
No files found.
gcc/combine.c
View file @
3adde2a5
...
@@ -170,11 +170,6 @@ static int last_call_cuid;
...
@@ -170,11 +170,6 @@ static int last_call_cuid;
static
rtx
subst_insn
;
static
rtx
subst_insn
;
/* If nonzero, this is the insn that should be presumed to be
immediately in front of `subst_insn'. */
static
rtx
subst_prev_insn
;
/* This is the lowest CUID that `subst' is currently dealing with.
/* This is the lowest CUID that `subst' is currently dealing with.
get_last_value will not return a value if the register was set at or
get_last_value will not return a value if the register was set at or
after this CUID. If not for this mechanism, we could get confused if
after this CUID. If not for this mechanism, we could get confused if
...
@@ -1240,7 +1235,6 @@ try_combine (i3, i2, i1)
...
@@ -1240,7 +1235,6 @@ try_combine (i3, i2, i1)
if
(
i1
&&
INSN_CUID
(
i1
)
>
INSN_CUID
(
i2
))
if
(
i1
&&
INSN_CUID
(
i1
)
>
INSN_CUID
(
i2
))
temp
=
i1
,
i1
=
i2
,
i2
=
temp
;
temp
=
i1
,
i1
=
i2
,
i2
=
temp
;
subst_prev_insn
=
0
;
added_links_insn
=
0
;
added_links_insn
=
0
;
/* First check for one important special-case that the code below will
/* First check for one important special-case that the code below will
...
@@ -1356,9 +1350,8 @@ try_combine (i3, i2, i1)
...
@@ -1356,9 +1350,8 @@ try_combine (i3, i2, i1)
never appear in the insn stream so giving it the same INSN_UID
never appear in the insn stream so giving it the same INSN_UID
as I2 will not cause a problem. */
as I2 will not cause a problem. */
subst_prev_insn
=
i1
i1
=
gen_rtx
(
INSN
,
VOIDmode
,
INSN_UID
(
i2
),
0
,
i2
,
=
gen_rtx
(
INSN
,
VOIDmode
,
INSN_UID
(
i2
),
0
,
i2
,
XVECEXP
(
PATTERN
(
i2
),
0
,
1
),
-
1
,
0
,
0
);
XVECEXP
(
PATTERN
(
i2
),
0
,
1
),
-
1
,
0
,
0
);
SUBST
(
PATTERN
(
i2
),
XVECEXP
(
PATTERN
(
i2
),
0
,
0
));
SUBST
(
PATTERN
(
i2
),
XVECEXP
(
PATTERN
(
i2
),
0
,
0
));
SUBST
(
XEXP
(
SET_SRC
(
PATTERN
(
i2
)),
0
),
SUBST
(
XEXP
(
SET_SRC
(
PATTERN
(
i2
)),
0
),
...
@@ -9826,15 +9819,10 @@ get_last_value (x)
...
@@ -9826,15 +9819,10 @@ get_last_value (x)
{
{
rtx
insn
,
set
;
rtx
insn
,
set
;
/* If there is an insn that is supposed to be immediately
for
(
insn
=
prev_nonnote_insn
(
subst_insn
);
in front of subst_insn, use it. */
insn
&&
INSN_CUID
(
insn
)
>=
subst_low_cuid
;
if
(
subst_prev_insn
!=
0
)
insn
=
prev_nonnote_insn
(
insn
))
insn
=
subst_prev_insn
;
;
else
for
(
insn
=
prev_nonnote_insn
(
subst_insn
);
insn
&&
INSN_CUID
(
insn
)
>=
subst_low_cuid
;
insn
=
prev_nonnote_insn
(
insn
))
;
if
(
insn
if
(
insn
&&
(
set
=
single_set
(
insn
))
!=
0
&&
(
set
=
single_set
(
insn
))
!=
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