projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8e6b3e7
)
Skip self-dependencies in ifconv
author
Andreas Zwinkau
<zwinkau@kit.edu>
Tue, 15 Mar 2011 15:58:45 +0000
(16:58 +0100)
committer
Andreas Zwinkau
<zwinkau@kit.edu>
Tue, 15 Mar 2011 16:57:57 +0000
(17:57 +0100)
Fixes C/unkept_loop.c and opt/fehler159.c
ir/opt/ifconv.c
patch
|
blob
|
history
diff --git
a/ir/opt/ifconv.c
b/ir/opt/ifconv.c
index
d6768a6
..
714d4cf
100644
(file)
--- a/
ir/opt/ifconv.c
+++ b/
ir/opt/ifconv.c
@@
-294,6
+294,8
@@
restart:
ir_node* cond;
int j;
+ if (dependency == block) continue;
+
if (projx0 == NULL) continue;
cond = get_Proj_pred(projx0);