Commit a0a41c13 authored by yb9976's avatar yb9976
Browse files

Recompute possible relations.

This fixes opt/fehler298.c.
parent e3f2b412
...@@ -5380,7 +5380,9 @@ cmp_x_eq_0: ...@@ -5380,7 +5380,9 @@ cmp_x_eq_0:
} else { } else {
relation = get_inversed_relation(relation); relation = get_inversed_relation(relation);
} }
changedc = true; right = new_r_Const(irg, tv);
possible = ir_get_possible_cmp_relations(left, right);
changed = true;
DBG_OPT_ALGSIM0(n, n, FS_OPT_CMP_OP_C); DBG_OPT_ALGSIM0(n, n, FS_OPT_CMP_OP_C);
} }
} else if (is_Not(left) && rel_eq != ir_relation_false) { } else if (is_Not(left) && rel_eq != ir_relation_false) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment