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
b5226ea8
Commit
b5226ea8
authored
May 13, 2011
by
Andreas Zwinkau
Browse files
ldstop must deactivate edges after changes
Skipping Loads might lead to dead code, which is still reference by out edges.
parent
3142e505
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/ldstopt.c
View file @
b5226ea8
...
...
@@ -2284,6 +2284,7 @@ int optimize_load_store(ir_graph *irg)
/* Handle graph state */
if
(
env
.
changes
)
{
set_irg_entity_usage_state
(
irg
,
ir_entity_usage_not_computed
);
edges_deactivate
(
irg
);
}
if
(
env
.
changes
&
CF_CHANGED
)
{
...
...
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