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
6bdb8dd6
Commit
6bdb8dd6
authored
Jun 29, 2002
by
Jan Hubicka
Committed by
Jeff Law
Jun 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
From-SVN: r55087
parent
f1b1186f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
gcc/ChangeLog
+4
-0
gcc/gcse.c
+5
-7
No files found.
gcc/ChangeLog
View file @
6bdb8dd6
2002-06-28 Jan Hubicka <jh@suse.cz>
* gcse.c (gcse_emit_move_after): Use gen_move_insn to produce the move.
2002-06-28 Stephen Clarke <stephen.clarke@superh.com>
* combine.c (combine_simplify_rtx): Pass the mode of the
...
...
gcc/gcse.c
View file @
6bdb8dd6
...
...
@@ -5144,21 +5144,19 @@ gcse_emit_move_after (src, dest, insn)
rtx
src
,
dest
,
insn
;
{
rtx
new
;
rtx
set
=
single_set
(
insn
);
rtx
set
=
single_set
(
insn
)
,
set2
;
rtx
note
;
rtx
eqv
;
/* This should never fail since we're creating a reg->reg copy
we've verified to be valid. */
new
=
emit_insn_after
(
gen_rtx_SET
(
VOIDmode
,
dest
,
src
),
insn
);
/* want_to_gcse_p verifies that this move will be valid. Still this call
is mandatory as it may create clobbers required by the pattern. */
if
(
insn_invalid_p
(
insn
))
abort
();
new
=
emit_insn_after
(
gen_move_insn
(
dest
,
src
),
insn
);
/* Note the equivalence for local CSE pass. */
set2
=
single_set
(
new
);
if
(
!
set2
||
!
rtx_equal_p
(
SET_DEST
(
set2
),
dest
))
return
new
;
if
((
note
=
find_reg_equal_equiv_note
(
insn
)))
eqv
=
XEXP
(
note
,
0
);
else
...
...
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