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
34c9e848
Commit
34c9e848
authored
Aug 20, 2000
by
Michael Meissner
Committed by
Michael Meissner
Aug 20, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure THEN block has any insns at before testing for indirect jump
From-SVN: r35813
parent
f1e42c81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gcc/ChangeLog
+3
-0
gcc/ifcvt.c
+6
-3
No files found.
gcc/ChangeLog
View file @
34c9e848
2000-08-19 Michael Meissner <meissner@redhat.com>
2000-08-19 Michael Meissner <meissner@redhat.com>
* ifcvt.c (find_if_block): Do not assume that a THEN block has any
instructions in it before checking for indirect jumps.
* ifcvt.c (find_if_block): Do not consider a THEN block that ends
* ifcvt.c (find_if_block): Do not consider a THEN block that ends
in a indirect jump as a potential for conditional execution.
in a indirect jump as a potential for conditional execution.
...
...
gcc/ifcvt.c
View file @
34c9e848
...
@@ -1510,10 +1510,13 @@ find_if_block (test_bb, then_edge, else_edge)
...
@@ -1510,10 +1510,13 @@ find_if_block (test_bb, then_edge, else_edge)
{
{
rtx
last_insn
=
then_bb
->
end
;
rtx
last_insn
=
then_bb
->
end
;
if
(
GET_CODE
(
last_insn
)
==
NOTE
)
while
(
last_insn
last_insn
=
prev_nonnote_insn
(
last_insn
);
&&
GET_CODE
(
last_insn
)
==
NOTE
&&
last_insn
!=
then_bb
->
head
)
last_insn
=
PREV_INSN
(
last_insn
);
if
(
GET_CODE
(
last_insn
)
==
JUMP_INSN
if
(
last_insn
&&
GET_CODE
(
last_insn
)
==
JUMP_INSN
&&
!
simplejump_p
(
last_insn
))
&&
!
simplejump_p
(
last_insn
))
return
FALSE
;
return
FALSE
;
...
...
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