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
6c6629cc
Commit
6c6629cc
authored
Sep 16, 2011
by
Andreas Zwinkau
Browse files
Documentation: why kill unreachable code between localopts
parent
4201c0e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irgopt.c
View file @
6c6629cc
...
...
@@ -226,7 +226,8 @@ int optimize_graph_df(ir_graph *irg)
ir_node
*
n
=
(
ir_node
*
)
pdeq_getl
(
waitq
);
opt_walker
(
n
,
waitq
);
}
/* Calculate dominance so we can kill unreachable code */
/* Calculate dominance so we can kill unreachable code
* We want this intertwined with localopts for better optimization (phase coupling) */
compute_doms
(
irg
);
irg_block_walk_graph
(
irg
,
NULL
,
find_unreachable_blocks
,
waitq
);
}
...
...
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