Commit 2b6d7097 authored by Matthias Braun's avatar Matthias Braun
Browse files

ia32: remove pointless downconv skips in gen_Add

this fixes a bug, because match_arguments determines the operations
mode by looking at the passed operands, so they must still have the
original mode and not the mode after a skip_downconv.
parent 183c08a8
......@@ -1344,9 +1344,6 @@ static ir_node *gen_Add(ir_node *node)
ia32_mark_non_am(node);
op2 = ia32_skip_downconv(op2);
op1 = ia32_skip_downconv(op1);
/**
* Rules for an Add:
* 0. Immediate Trees (example Add(Symconst, Const) -> Const)
......
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