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
1b513b77
Commit
1b513b77
authored
Apr 27, 2000
by
Jan Hubicka
Committed by
Jan Hubicka
Apr 27, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* function.c (epilogue_done): Pass whole insn to record_insns.
From-SVN: r33488
parent
8e02c4d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
gcc/ChangeLog
+4
-0
gcc/flow.c
+2
-0
gcc/function.c
+4
-2
No files found.
gcc/ChangeLog
View file @
1b513b77
Thu
Apr
27
17
:
33
:
05
MET
DST
2000
Jan
Hubicka
<
jh
@suse
.
cz
>
*
function
.
c
(
epilogue_done
)
:
Pass
whole
insn
to
record_insns
.
Thu
Apr
27
16
:
55
:
28
MET
DST
2000
Jan
Hubicka
<
jh
@suse
.
cz
>
*
cse
.
c
(
CSE_ADDRESS_COST
)
:
Remove
.
...
...
gcc/flow.c
View file @
1b513b77
...
...
@@ -4000,6 +4000,8 @@ mark_set_1 (pbi, code, reg, cond, insn, flags)
||
GET_CODE
(
reg
)
==
ZERO_EXTRACT
||
GET_CODE
(
reg
)
==
SIGN_EXTRACT
||
GET_CODE
(
reg
)
==
STRICT_LOW_PART
);
if
(
GET_CODE
(
reg
)
==
MEM
)
break
;
not_dead
=
REGNO_REG_SET_P
(
pbi
->
reg_live
,
REGNO
(
reg
));
/* FALLTHRU */
...
...
gcc/function.c
View file @
1b513b77
...
...
@@ -7025,6 +7025,7 @@ epilogue_done:
basic_block
bb
=
e
->
src
;
rtx
insn
=
bb
->
end
;
rtx
i
;
rtx
newinsn
;
if
(
GET_CODE
(
insn
)
!=
CALL_INSN
||
!
SIBLING_CALL_P
(
insn
))
...
...
@@ -7035,7 +7036,7 @@ epilogue_done:
end_sequence
();
i
=
PREV_INSN
(
insn
);
emit_insn_before
(
seq
,
insn
);
newinsn
=
emit_insn_before
(
seq
,
insn
);
/* Update the UID to basic block map. */
for
(
i
=
NEXT_INSN
(
i
);
i
!=
insn
;
i
=
NEXT_INSN
(
i
))
...
...
@@ -7043,7 +7044,8 @@ epilogue_done:
/* Retain a map of the epilogue insns. Used in life analysis to
avoid getting rid of sibcall epilogue insns. */
record_insns
(
seq
,
&
sibcall_epilogue
);
record_insns
(
GET_CODE
(
seq
)
==
SEQUENCE
?
seq
:
newinsn
,
&
sibcall_epilogue
);
}
#endif
}
...
...
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