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
65a878f5
Commit
65a878f5
authored
Jan 05, 2005
by
Roger Sayle
Committed by
Roger Sayle
Jan 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ifcvt.c (find_if_case_1): Revert 2005-01-04 change.
From-SVN: r92970
parent
ea97f102
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
15 deletions
+5
-15
gcc/ChangeLog
+4
-0
gcc/ifcvt.c
+1
-15
No files found.
gcc/ChangeLog
View file @
65a878f5
2005-01-05 Roger Sayle <roger@eyesopen.com>
* ifcvt.c (find_if_case_1): Revert 2005-01-04 change.
2005-01-05 Jan Hubicka <jh@suse.cz>
Richard Henderson <rth@redhat.com>
...
...
gcc/ifcvt.c
View file @
65a878f5
...
...
@@ -2927,21 +2927,7 @@ find_if_case_1 (basic_block test_bb, edge then_edge, edge else_edge)
else_bb
->
global_live_at_start
,
then_bb
->
global_live_at_end
);
/* We can avoid creating a new basic block if then_bb is immediately
followed by else_bb, i.e. deleting then_bb allows test_bb to fall
thru to else_bb. */
if
(
then_bb
->
next_bb
==
else_bb
&&
then_bb
->
prev_bb
==
test_bb
)
{
redirect_edge_succ
(
FALLTHRU_EDGE
(
test_bb
),
else_bb
);
new_bb
=
0
;
}
else
new_bb
=
redirect_edge_and_branch_force
(
FALLTHRU_EDGE
(
test_bb
),
else_bb
);
new_bb
=
redirect_edge_and_branch_force
(
FALLTHRU_EDGE
(
test_bb
),
else_bb
);
then_bb_index
=
then_bb
->
index
;
delete_basic_block
(
then_bb
);
...
...
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