projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5b331
)
Fix cfopt
author
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 15 Sep 2011 12:09:41 +0000
(14:09 +0200)
committer
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 15 Sep 2011 12:10:37 +0000
(14:10 +0200)
The cfopt itself can handle unreachable code,
but it transforms it in a way that makes the verifier unhappy.
ir/opt/cfopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/cfopt.c
b/ir/opt/cfopt.c
index
b10dc51
..
927cb5d
100644
(file)
--- a/
ir/opt/cfopt.c
+++ b/
ir/opt/cfopt.c
@@
-972,7
+972,7
@@
static ir_graph_state_t do_cfopt(ir_graph *irg)
optdesc_t opt_cf = {
"control-flow",
-
0
,
+
IR_GRAPH_STATE_NO_UNREACHABLE_BLOCKS
,
do_cfopt,
};