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
63be01fb
Commit
63be01fb
authored
Feb 26, 2000
by
John Wehle
Committed by
Jeff Law
Feb 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
From-SVN: r32163
parent
44a76fc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
gcc/ChangeLog
+4
-0
gcc/rtlanal.c
+8
-6
No files found.
gcc/ChangeLog
View file @
63be01fb
2000
-
02
-
25
John
Wehle
(
john
@feith
.
com
)
*
rtlanal
.
c
(
find_last_value
)
:
Allow
NULL_RTX
for
valid_to
.
2000
-
02
-
25
Anthony
Green
<
green
@cygnus
.
com
>
2000
-
02
-
25
Anthony
Green
<
green
@cygnus
.
com
>
*
toplev
.
c
(
rest_of_compilation
)
:
Rebuild
jump
labels
if
*
toplev
.
c
(
rest_of_compilation
)
:
Rebuild
jump
labels
if
...
...
gcc/rtlanal.c
View file @
63be01fb
...
@@ -750,11 +750,12 @@ multiple_sets (insn)
...
@@ -750,11 +750,12 @@ multiple_sets (insn)
return
0
;
return
0
;
}
}
/* Return the last thing that X was assigned from before *PINSN. Verify that
/* Return the last thing that X was assigned from before *PINSN. If VALID_TO
the object is not modified up to VALID_TO. If it was, if we hit
is not NULL_RTX then verify that the object is not modified up to VALID_TO.
a partial assignment to X, or hit a CODE_LABEL first, return X. If we
If the object was modified, if we hit a partial assignment to X, or hit a
found an assignment, update *PINSN to point to it.
CODE_LABEL first, return X. If we found an assignment, update *PINSN to
ALLOW_HWREG is set to 1 if hardware registers are allowed to be the src. */
point to it. ALLOW_HWREG is set to 1 if hardware registers are allowed to
be the src. */
rtx
rtx
find_last_value
(
x
,
pinsn
,
valid_to
,
allow_hwreg
)
find_last_value
(
x
,
pinsn
,
valid_to
,
allow_hwreg
)
...
@@ -779,7 +780,8 @@ find_last_value (x, pinsn, valid_to, allow_hwreg)
...
@@ -779,7 +780,8 @@ find_last_value (x, pinsn, valid_to, allow_hwreg)
if
(
note
&&
GET_CODE
(
XEXP
(
note
,
0
))
!=
EXPR_LIST
)
if
(
note
&&
GET_CODE
(
XEXP
(
note
,
0
))
!=
EXPR_LIST
)
src
=
XEXP
(
note
,
0
);
src
=
XEXP
(
note
,
0
);
if
(
!
modified_between_p
(
src
,
PREV_INSN
(
p
),
valid_to
)
if
((
valid_to
==
NULL_RTX
||
!
modified_between_p
(
src
,
PREV_INSN
(
p
),
valid_to
))
/* Reject hard registers because we don't usually want
/* Reject hard registers because we don't usually want
to use them; we'd rather use a pseudo. */
to use them; we'd rather use a pseudo. */
&&
(
!
(
GET_CODE
(
src
)
==
REG
&&
(
!
(
GET_CODE
(
src
)
==
REG
...
...
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