Commit b44818b5 authored by yb9976's avatar yb9976
Browse files

Also update Cmp operands.

This fixes opt/fehler275.c.
parent 8939d866
......@@ -2171,6 +2171,8 @@ static ir_node *get_flags_node(ir_node *cmp, x86_condition_code_t *cc_out)
/* If cmp has merged with a Sub during the transformation, its
* relation may have turned around. This is why we can set
* *cc_out only now. */
l = get_Cmp_left(cmp);
r = get_Cmp_right(cmp);
relation = get_Cmp_relation(cmp);
/* the middle-end tries to eliminate impossible relations, so a ptr <> 0
......
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