Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
663ac704
Commit
663ac704
authored
Jul 30, 2008
by
Michael Beck
Browse files
- do not kill the start block when folding control flow
[r20778]
parent
887edd1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/combo.c
View file @
663ac704
...
...
@@ -1490,7 +1490,9 @@ static ir_node *get_leader(node_t *node) {
* @param pred the control flow exit
*/
static
int
can_exchange
(
ir_node
*
pred
)
{
if
(
is_Jmp
(
pred
))
if
(
is_Start
(
pred
))
return
0
;
else
if
(
is_Jmp
(
pred
))
return
1
;
else
if
(
get_irn_mode
(
pred
)
==
mode_T
)
{
int
i
,
k
;
...
...
Write
Preview
Supports
Markdown
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