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
a0e6bed6
Commit
a0e6bed6
authored
Jun 01, 2009
by
Matthias Braun
Browse files
add note/error message about critical edge splitting and IJmps
[r26084]
parent
c64c5e51
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/critical_edges.c
View file @
a0e6bed6
...
...
@@ -72,6 +72,12 @@ static void walk_critical_cf_edges(ir_node *n, void *env) {
continue
;
goto
insert
;
}
if
(
is_IJmp
(
pre
))
{
/* we can't add blocks in between ijmp and its destinations
* TODO: What now, we can't split all critical edges because of this... */
fprintf
(
stderr
,
"libfirm warning: Couldn't split all critical edges (compiler will probably fail now)
\n
"
);
continue
;
}
/* we don't want place nodes in the start block, so handle it like forking */
if
(
is_op_forking
(
cfop
)
||
cfop
==
op_Start
)
{
/* Predecessor has multiple successors. Insert new control flow edge edges. */
...
...
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