projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
402fb09
)
ifconv must remove bads first
author
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 26 May 2011 10:49:15 +0000
(12:49 +0200)
committer
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 26 May 2011 10:56:22 +0000
(12:56 +0200)
Fixes C/unkept_loop.c
ir/opt/ifconv.c
patch
|
blob
|
history
diff --git
a/ir/opt/ifconv.c
b/ir/opt/ifconv.c
index
511b891
..
78184ee
100644
(file)
--- a/
ir/opt/ifconv.c
+++ b/
ir/opt/ifconv.c
@@
-477,6
+477,8
@@
void opt_if_conv(ir_graph *irg)
DB((dbg, LEVEL_1, "Running if-conversion on %+F\n", irg));
+ env.changed |= remove_bads(irg);
+
normalize_one_return(irg);
remove_critical_cf_edges(irg);