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
178c39f6
Commit
178c39f6
authored
May 25, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1087
parent
700f6f98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/cse.c
+4
-3
No files found.
gcc/cse.c
View file @
178c39f6
...
@@ -2360,10 +2360,11 @@ canon_reg (x, insn)
...
@@ -2360,10 +2360,11 @@ canon_reg (x, insn)
rtx
new
=
canon_reg
(
XEXP
(
x
,
i
),
insn
);
rtx
new
=
canon_reg
(
XEXP
(
x
,
i
),
insn
);
/* If replacing pseudo with hard reg or vice versa, ensure the
/* If replacing pseudo with hard reg or vice versa, ensure the
insn remains valid. */
insn remains valid.
Likewise if the insn has MATCH_DUPs.
*/
if
(
new
&&
GET_CODE
(
new
)
==
REG
&&
GET_CODE
(
XEXP
(
x
,
i
))
==
REG
if
(
new
&&
GET_CODE
(
new
)
==
REG
&&
GET_CODE
(
XEXP
(
x
,
i
))
==
REG
&&
((
REGNO
(
new
)
<
FIRST_PSEUDO_REGISTER
)
&&
(((
REGNO
(
new
)
<
FIRST_PSEUDO_REGISTER
)
!=
(
REGNO
(
XEXP
(
x
,
i
))
<
FIRST_PSEUDO_REGISTER
)))
!=
(
REGNO
(
XEXP
(
x
,
i
))
<
FIRST_PSEUDO_REGISTER
))
||
(
insn
!=
0
&&
insn_n_dups
[
recog_memoized
(
insn
)]
>
0
)))
validate_change
(
insn
,
&
XEXP
(
x
,
i
),
new
,
0
);
validate_change
(
insn
,
&
XEXP
(
x
,
i
),
new
,
0
);
else
else
XEXP
(
x
,
i
)
=
new
;
XEXP
(
x
,
i
)
=
new
;
...
...
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