Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
b3c0ae4f
Commit
b3c0ae4f
authored
Sep 21, 2011
by
Matthias Braun
Browse files
backend always expects outedges, assure them after place_code, optimize_graph_df
parent
72a50045
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
b3c0ae4f
...
...
@@ -692,6 +692,8 @@ static void ia32_prepare_graph(ir_graph *irg)
/* do local optimizations (mainly CSE) */
optimize_graph_df
(
irg
);
/* backend code expects that outedges are always enabled */
edges_assure
(
irg
);
if
(
irg_data
->
dump
)
dump_ir_graph
(
irg
,
"transformed"
);
...
...
@@ -701,6 +703,8 @@ static void ia32_prepare_graph(ir_graph *irg)
/* do code placement, to optimize the position of constants */
place_code
(
irg
);
/* backend code expects that outedges are always enabled */
edges_assure
(
irg
);
if
(
irg_data
->
dump
)
dump_ir_graph
(
irg
,
"place"
);
...
...
ir/be/sparc/sparc_transform.c
View file @
b3c0ae4f
...
...
@@ -2530,6 +2530,8 @@ void sparc_transform_graph(ir_graph *irg)
/* do code placement, to optimize the position of constants */
place_code
(
irg
);
/* backend expects outedges to be always on */
edges_assure
(
irg
);
}
void
sparc_init_transform
(
void
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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