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
bb2cf916
Commit
bb2cf916
authored
Mar 15, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Mar 15, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use only nonvarying rtxs as known values
From-SVN: r40505
parent
e06736f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/alias.c
+2
-2
No files found.
gcc/ChangeLog
View file @
bb2cf916
...
...
@@ -25,6 +25,10 @@ Thu Mar 15 11:24:29 EST 2001 John Wehle (john@feith.com)
* cselib.c (hash_rtx): For REG and MEM, just use value of expression
without adding in rtx code and mode.
* alias.c (init_alias_analysis): Don't use any rtx whose value
varies as a known value.
Delete a superfluous test.
* config/ia64/ia64.c (maybe_rotate): New function, broken out of
ia64_sched_reorder.
(ia64_sched_reorder): Call maybe_rotate; also rotate after
...
...
gcc/alias.c
View file @
bb2cf916
...
...
@@ -2276,6 +2276,7 @@ init_alias_analysis ()
&&
REG_N_SETS
(
regno
)
==
1
)
||
(
note
=
find_reg_note
(
insn
,
REG_EQUIV
,
NULL_RTX
))
!=
0
)
&&
GET_CODE
(
XEXP
(
note
,
0
))
!=
EXPR_LIST
&&
!
rtx_varies_p
(
XEXP
(
note
,
0
),
1
)
&&
!
reg_overlap_mentioned_p
(
SET_DEST
(
set
),
XEXP
(
note
,
0
)))
{
reg_known_value
[
regno
]
=
XEXP
(
note
,
0
);
...
...
@@ -2289,8 +2290,7 @@ init_alias_analysis ()
&&
GET_CODE
(
XEXP
(
src
,
1
))
==
CONST_INT
)
{
rtx
op0
=
XEXP
(
src
,
0
);
if
(
reg_known_value
[
REGNO
(
op0
)])
op0
=
reg_known_value
[
REGNO
(
op0
)];
op0
=
reg_known_value
[
REGNO
(
op0
)];
reg_known_value
[
regno
]
=
plus_constant_for_output
(
op0
,
INTVAL
(
XEXP
(
src
,
1
)));
...
...
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