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
2be28ee2
Commit
2be28ee2
authored
Jan 03, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Jan 03, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add extra arg to cse_rtx_varies_p
From-SVN: r38656
parent
a338321e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/ChangeLog
+3
-0
gcc/cse.c
+5
-4
No files found.
gcc/ChangeLog
View file @
2be28ee2
...
...
@@ -8,6 +8,9 @@ Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
a REG rtx.
* cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
callers changed.
2001-01-03 Alexandre Oliva <aoliva@redhat.com>
* combine.c (simplify_shift_const): Even if we're sign-extracting,
...
...
gcc/cse.c
View file @
2be28ee2
...
...
@@ -656,7 +656,7 @@ static struct table_elt *insert PARAMS ((rtx, struct table_elt *, unsigned,
static
void
merge_equiv_classes
PARAMS
((
struct
table_elt
*
,
struct
table_elt
*
));
static
void
invalidate
PARAMS
((
rtx
,
enum
machine_mode
));
static
int
cse_rtx_varies_p
PARAMS
((
rtx
));
static
int
cse_rtx_varies_p
PARAMS
((
rtx
,
int
));
static
void
remove_invalid_refs
PARAMS
((
unsigned
int
));
static
void
remove_invalid_subreg_refs
PARAMS
((
unsigned
int
,
unsigned
int
,
enum
machine_mode
));
...
...
@@ -2691,8 +2691,9 @@ exp_equiv_p (x, y, validate, equal_values)
against certain constants or near-constants. */
static
int
cse_rtx_varies_p
(
x
)
cse_rtx_varies_p
(
x
,
from_alias
)
register
rtx
x
;
int
from_alias
ATTRIBUTE_UNUSED
;
{
/* We need not check for X and the equivalence class being of the same
mode because if X is equivalent to a constant in some mode, it
...
...
@@ -2745,7 +2746,7 @@ cse_rtx_varies_p (x)
return
0
;
}
return
rtx_varies_p
(
x
,
0
);
return
rtx_varies_p
(
x
,
from_alias
);
}
/* Canonicalize an expression:
...
...
@@ -6595,7 +6596,7 @@ invalidate_skipped_set (dest, set, data)
a BLKmode or nonscalar memory reference or a reference to a
variable address. */
&&
(
MEM_IN_STRUCT_P
(
dest
)
||
GET_MODE
(
dest
)
==
BLKmode
||
cse_rtx_varies_p
(
XEXP
(
dest
,
0
))))
||
cse_rtx_varies_p
(
XEXP
(
dest
,
0
)
,
0
)))
{
invalidate_memory
();
return
;
...
...
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