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
8f65050e
Commit
8f65050e
authored
Oct 31, 1999
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove experimental hunk that wasn't supposed to be checked in.
From-SVN: r30298
parent
5949bdae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
gcc/cse.c
+0
-21
No files found.
gcc/cse.c
View file @
8f65050e
...
...
@@ -5517,32 +5517,11 @@ cse_insn (insn, libcall_insn)
&&
GET_CODE
(
XEXP
(
XEXP
(
src_const
,
0
),
0
))
==
LABEL_REF
&&
GET_CODE
(
XEXP
(
XEXP
(
src_const
,
0
),
1
))
==
LABEL_REF
))
{
rtx
simplified_src_const
;
tem
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
);
/* Make sure that the rtx is not shared with any other insn. */
src_const
=
copy_rtx
(
src_const
);
/* Try to simplify SRC_CONST.
The primary purpose behind simplifying the note is to allow
for easier removal of library call sequences later. Consider
a udiv libcall where we can determine the second argument is
a constant. SRC_CONST would look like:
(udiv (reg) (const_int 2**n))
That RTL expression will simplify into:
(lshiftrt (reg) (const_int n))
A target using library calls for division is more likely to
have a lshiftrt insn. Thus, it is more likely that the libcall
can be deleted in delete_trivially_dead_insns if we simplify
the note. */
simplified_src_const
=
simplify_rtx
(
src_const
);
src_const
=
simplified_src_const
?
simplified_src_const
:
src_const
;
/* Record the actual constant value in a REG_EQUAL note, making
a new one if one does not already exist. */
if
(
tem
)
...
...
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