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
63f5de37
Commit
63f5de37
authored
Jan 20, 2009
by
Michael Beck
Browse files
- when control flow is changed, invalidate the entity usage state
[r25284]
parent
8c7701b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/opt/cfopt.c
View file @
63f5de37
...
...
@@ -757,6 +757,7 @@ restart:
set_irg_doms_inconsistent
(
irg
);
set_irg_extblk_inconsistent
(
irg
);
set_irg_loopinfo_inconsistent
(
irg
);
set_irg_entity_usage_state
(
irg
,
ir_entity_usage_not_computed
);
env
.
changed
=
0
;
}
...
...
@@ -856,6 +857,7 @@ restart:
set_irg_doms_inconsistent
(
irg
);
set_irg_extblk_inconsistent
(
irg
);
set_irg_loopinfo_inconsistent
(
irg
);
set_irg_entity_usage_state
(
irg
,
ir_entity_usage_not_computed
);
}
...
...
ir/opt/combo.c
View file @
63f5de37
...
...
@@ -3542,6 +3542,7 @@ void combo(ir_graph *irg) {
set_irg_extblk_inconsistent
(
irg
);
set_irg_doms_inconsistent
(
irg
);
set_irg_loopinfo_inconsistent
(
irg
);
set_irg_entity_usage_state
(
irg
,
ir_entity_usage_not_computed
);
}
ir_free_resources
(
irg
,
IR_RESOURCE_IRN_LINK
|
IR_RESOURCE_PHI_LIST
);
...
...
ir/opt/condeval.c
View file @
63f5de37
...
...
@@ -727,6 +727,7 @@ void opt_cond_eval(ir_graph* irg)
set_irg_doms_inconsistent
(
irg
);
set_irg_extblk_inconsistent
(
irg
);
set_irg_loopinfo_inconsistent
(
irg
);
set_irg_entity_usage_state
(
irg
,
ir_entity_usage_not_computed
);
/* Dead code might be created. Optimize it away as it is dangerous
* to call optimize_df() an dead code. */
...
...
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