Commit 5e24c17a authored by Matthias Braun's avatar Matthias Braun
Browse files

remove useless code from iropt

[r27967]
parent 1b63e194
......@@ -4653,14 +4653,6 @@ static ir_node *transform_node_Proj_Cmp(ir_node *proj)
}
}
} /* == or != */
/* the following reassociations work only for <= */
else if (proj_nr == pn_Cmp_Le || proj_nr == pn_Cmp_Lt) {
if (tv != tarval_bad) {
/* c >= 0 : Abs(a) <= c ==> (unsigned)(a + c) <= 2*c */
if (is_Abs(left)) { // TODO something is missing here
}
}
}
} /* mode_is_int */
if (proj_nr == pn_Cmp_Eq || proj_nr == pn_Cmp_Lg) {
......
Supports Markdown
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