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
2af51b88
Commit
2af51b88
authored
Mar 02, 2005
by
Devang Patel
Committed by
Devang Patel
Mar 02, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo PR tree-optimization/18815 fix.
From-SVN: r95803
parent
713101a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
13 deletions
+6
-13
gcc/ChangeLog
+4
-0
gcc/tree-if-conv.c
+2
-13
No files found.
gcc/ChangeLog
View file @
2af51b88
2005-03-02 Devang Patel <dpatel@apple.com>
Undo PR tree-optimization/18815 fix.
2005-03-02 Devang Patel <dpatel@apple.com>
PR tree-optimization/18815
* tree-if-conv.c (combine_blocks): Adjust loop header edges for
...
...
gcc/tree-if-conv.c
View file @
2af51b88
...
...
@@ -905,21 +905,10 @@ combine_blocks (struct loop *loop)
continue
;
/* It is time to remove this basic block. First remove edges. */
while
(
EDGE_COUNT
(
bb
->
preds
)
>
0
)
remove_edge
(
EDGE_PRED
(
bb
,
0
));
/* This is loop latch and loop does not have exit then do not
delete this basic block. Just remove its PREDS and reconnect
loop->header and loop->latch blocks. */
if
(
bb
==
loop
->
latch
&&
loop
->
num_exits
==
0
)
{
make_edge
(
loop
->
header
,
loop
->
latch
,
EDGE_FALLTHRU
);
set_immediate_dominator
(
CDI_DOMINATORS
,
loop
->
latch
,
loop
->
header
);
continue
;
}
while
(
EDGE_COUNT
(
bb
->
succs
)
>
0
)
remove_edge
(
EDGE_SUCC
(
bb
,
0
));
while
(
EDGE_COUNT
(
bb
->
preds
)
>
0
)
remove_edge
(
EDGE_PRED
(
bb
,
0
));
/* Remove labels and make stmts member of loop->header. */
for
(
bsi
=
bsi_start
(
bb
);
!
bsi_end_p
(
bsi
);
)
...
...
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