Commit 0b5c6b75 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Remove nonsensical be_set_transformed_node() calls.

In one case the modes do not match: T -> M.
In the other case, a node is created just to set a transformed node for it.
In both cases the source nodes are not looked at anymore.
parent 0d8d2ee1
......@@ -2397,9 +2397,6 @@ static void finish_dest_am(ir_node *const new_node, ia32_address_mode_t const *c
set_ia32_op_type(new_node, ia32_AddrModeD);
ir_node *const new_proj = be_new_Proj(new_node, pn_ia32_M);
be_set_transformed_node(get_Proj_pred(am->mem_proj), new_proj);
ir_node *const mem_proj = be_transform_node(am->mem_proj);
be_set_transformed_node(mem_proj, new_proj);
be_set_transformed_node(am->mem_proj, new_proj);
}
......
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