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
ca800983
Commit
ca800983
authored
30 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(note_addr_stored): A SET or CLOBBER of a BLKmode MEM means that all
memory is clobbered. From-SVN: r7395
parent
058f58ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
gcc/loop.c
+7
-4
No files found.
gcc/loop.c
View file @
ca800983
...
...
@@ -2593,6 +2593,10 @@ note_addr_stored (x)
This affects heuristics in strength_reduce. */
num_mem_sets
++
;
/* BLKmode MEM means all memory is clobbered. */
if
(
GET_MODE
(
x
)
==
BLKmode
)
unknown_address_altered
=
1
;
if
(
unknown_address_altered
)
return
;
...
...
@@ -2601,10 +2605,9 @@ note_addr_stored (x)
&&
MEM_IN_STRUCT_P
(
x
)
==
MEM_IN_STRUCT_P
(
loop_store_mems
[
i
]))
{
/* We are storing at the same address as previously noted. Save the
wider reference, treating BLKmode as wider. */
if
(
GET_MODE
(
x
)
==
BLKmode
||
(
GET_MODE_SIZE
(
GET_MODE
(
x
))
>
GET_MODE_SIZE
(
GET_MODE
(
loop_store_mems
[
i
]))))
wider reference. */
if
(
GET_MODE_SIZE
(
GET_MODE
(
x
))
>
GET_MODE_SIZE
(
GET_MODE
(
loop_store_mems
[
i
])))
loop_store_mems
[
i
]
=
x
;
break
;
}
...
...
This diff is collapsed.
Click to expand it.
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