projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix abs creation after recent reassoc changes
[libfirm]
/
ir
/
lower
/
lower_dw.c
diff --git
a/ir/lower/lower_dw.c
b/ir/lower/lower_dw.c
index
fd4dca6
..
991fa36
100644
(file)
--- a/
ir/lower/lower_dw.c
+++ b/
ir/lower/lower_dw.c
@@
-1232,7
+1232,13
@@
static void lower_Cond(ir_node *node, ir_mode *mode, lower_env_t *env) {
pn_Cmp pnc;
dbg_info *dbg;
+ if(!is_Proj(sel))
+ return;
+
cmp = get_Proj_pred(sel);
+ if(!is_Cmp(cmp))
+ return;
+
left = get_Cmp_left(cmp);
idx = get_irn_idx(left);
lentry = env->entries[idx];