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
4f1605d2
Commit
4f1605d2
authored
Jul 19, 2004
by
Roger Sayle
Committed by
Roger Sayle
Jul 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtlanal.c (reg_set_p): Add check for regs_invalidated_by_call.
From-SVN: r84930
parent
fab62285
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
gcc/ChangeLog
+4
-0
gcc/rtlanal.c
+3
-7
No files found.
gcc/ChangeLog
View file @
4f1605d2
2004-07-19 Roger Sayle <roger@eyesopen.com>
* rtlanal.c (reg_set_p): Add check for regs_invalidated_by_call.
2004-07-19 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (single_incoming_edge_ignoring_loop_edges): New.
...
...
gcc/rtlanal.c
View file @
4f1605d2
...
...
@@ -941,14 +941,10 @@ reg_set_p (rtx reg, rtx insn)
if
(
INSN_P
(
insn
)
&&
(
FIND_REG_INC_NOTE
(
insn
,
reg
)
||
(
CALL_P
(
insn
)
/* We'd like to test call_used_regs here, but rtlanal.c can't
reference that variable due to its use in genattrtab. So
we'll just be more conservative.
??? Unless we could ensure that the CALL_INSN_FUNCTION_USAGE
information holds all clobbered registers. */
&&
((
REG_P
(
reg
)
&&
REGNO
(
reg
)
<
FIRST_PSEUDO_REGISTER
)
&&
REGNO
(
reg
)
<
FIRST_PSEUDO_REGISTER
&&
TEST_HARD_REG_BIT
(
regs_invalidated_by_call
,
REGNO
(
reg
)))
||
MEM_P
(
reg
)
||
find_reg_fusage
(
insn
,
CLOBBER
,
reg
)))))
return
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