projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef40fb
)
execfreq calculation fails in case of unreachable code
author
Matthias Braun
<matthias.braun@kit.edu>
Thu, 23 Aug 2012 09:02:12 +0000
(11:02 +0200)
committer
Matthias Braun
<matthias.braun@kit.edu>
Thu, 23 Aug 2012 11:33:13 +0000
(13:33 +0200)
ir/ana/execfreq.c
patch
|
blob
|
history
diff --git
a/ir/ana/execfreq.c
b/ir/ana/execfreq.c
index
35c5c65
..
e07e51b
100644
(file)
--- a/
ir/ana/execfreq.c
+++ b/
ir/ana/execfreq.c
@@
-240,7
+240,8
@@
void ir_estimate_execfreq(ir_graph *irg)
assure_irg_properties(irg,
IR_GRAPH_PROPERTY_CONSISTENT_OUT_EDGES
- | IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO);
+ | IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO
+ | IR_GRAPH_PROPERTY_NO_UNREACHABLE_CODE);
/* compute a DFS.
* using a toposort on the CFG (without back edges) will propagate