Commit 29037764 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix amd64 backend since negated_relation may return unordered now

parent d3b16d20
......@@ -317,7 +317,7 @@ static void emit_amd64_Jcc(const ir_node *irn)
relation = get_negated_relation(relation);
}
switch (relation) {
switch (relation & ir_relation_less_equal_greater) {
case ir_relation_equal: suffix = "e"; break;
case ir_relation_less: suffix = is_signed ? "l" : "b"; break;
case ir_relation_less_equal: suffix = is_signed ? "le" : "be"; break;
......
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