summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2015-11-06 21:17:26 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2015-11-06 21:17:26 +0100
commit054acdc3cebaac58a60ac372454b6cef024004fa (patch)
treea8d38cdfe01b721545fcfacb748a8f079c34e6f0 /ir/ana
parent04fb3c1155d0afd2f898893bab9627e60ca7fd26 (diff)
Remove superfluous if statement.
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/constbits.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ir/ana/constbits.c b/ir/ana/constbits.c
index faefd0f..a1d8b89 100644
--- a/ir/ana/constbits.c
+++ b/ir/ana/constbits.c
@@ -313,11 +313,8 @@ result_unknown_X:
bitinfo *const b_cfg = get_bitinfo_recursive(pred_block);
if (b_cfg->z != f) {
bitinfo *const b = get_bitinfo_recursive(get_Phi_pred(irn, i));
- /* Only use input if it's not undefined. */
- if (!is_undefined(b)) {
- z = tarval_or( z, b->z);
- o = tarval_and(o, b->o);
- }
+ z = tarval_or( z, b->z);
+ o = tarval_and(o, b->o);
}
}
} else {