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
2f93c5c3
Commit
2f93c5c3
authored
Sep 14, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Sep 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate REG_EQUAL notes when they'd be helpful
From-SVN: r36409
parent
cad396c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
gcc/ChangeLog
+7
-0
gcc/local-alloc.c
+7
-0
No files found.
gcc/ChangeLog
View file @
2f93c5c3
2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
From Joern Rennecke:
* local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
on an insn and function_invariant_p returns nonzero for the source,
add a REG_EQUAL note.
Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
* alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
...
...
gcc/local-alloc.c
View file @
2f93c5c3
...
...
@@ -787,6 +787,13 @@ update_equiv_regs ()
note
=
find_reg_note
(
insn
,
REG_EQUAL
,
NULL_RTX
);
/* cse sometimes generates function invariants, but doesn't put a
REG_EQUAL note on the insn. Since this note would be redundant,
there's no point creating it earlier than here. */
if
(
!
note
&&
function_invariant_p
(
src
))
REG_NOTES
(
insn
)
=
note
=
gen_rtx_EXPR_LIST
(
REG_EQUAL
,
src
,
REG_NOTES
(
insn
));
if
(
REG_N_SETS
(
regno
)
!=
1
&&
(
!
note
||
!
function_invariant_p
(
XEXP
(
note
,
0
))
...
...
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