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
75335440
Commit
75335440
authored
Jan 26, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Jan 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (fold_rtx): Call equiv_constant only when necessary.
From-SVN: r94260
parent
40184445
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/cse.c
+3
-2
No files found.
gcc/ChangeLog
View file @
75335440
2005-01-26 Kazu Hirata <kazu@cs.umass.edu>
* cse.c (fold_rtx): Call equiv_constant only when necessary.
2005-01-26 Bernd Schmidt <bernd.schmidt@analog.com>
* function.c (expand_function_end): If current_function_calls_alloca,
...
...
gcc/cse.c
View file @
75335440
...
...
@@ -3877,8 +3877,6 @@ fold_rtx (rtx x, rtx insn)
code
=
find_comparison_args
(
code
,
&
folded_arg0
,
&
folded_arg1
,
&
mode_arg0
,
&
mode_arg1
);
const_arg0
=
equiv_constant
(
folded_arg0
);
const_arg1
=
equiv_constant
(
folded_arg1
);
/* If the mode is VOIDmode or a MODE_CC mode, we don't know
what kinds of things are being compared, so we can't do
...
...
@@ -3887,6 +3885,9 @@ fold_rtx (rtx x, rtx insn)
if
(
mode_arg0
==
VOIDmode
||
GET_MODE_CLASS
(
mode_arg0
)
==
MODE_CC
)
break
;
const_arg0
=
equiv_constant
(
folded_arg0
);
const_arg1
=
equiv_constant
(
folded_arg1
);
/* If we do not now have two constants being compared, see
if we can nevertheless deduce some things about the
comparison. */
...
...
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