Commit 2d9db866 authored by Michael Beck's avatar Michael Beck
Browse files

- Do not produce Loads WITHOUT memory

parent 151f1b11
......@@ -108,7 +108,7 @@ static void lower_copyb_nodes(ir_node *irn, unsigned mode_bytes) {
addr_const = new_r_Const_long(irg, mode_Iu, offset);
add = new_r_Add(irg, block, addr_dst, addr_const, addr_mode);
store = new_r_Store(irg, block, mem, add, load_res, 0);
store = new_r_Store(irg, block, load_mem, add, load_res, 0);
store_mem = new_r_Proj(irg, block, store, mode_M, pn_Store_M);
mem = store_mem;
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