X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fldstopt.c;h=ce87077cee99c0da417db2cbf5a88973f94542c6;hb=151f1b110fe2c1ead4ae8dd66a2521f35c324946;hp=46db2a7b957d872334c60924f77fd24c01b54a9b;hpb=f44b4b1268e91fedfa29f670189b8ca84866bb9a;p=libfirm diff --git a/ir/opt/ldstopt.c b/ir/opt/ldstopt.c index 46db2a7b9..ce87077ce 100644 --- a/ir/opt/ldstopt.c +++ b/ir/opt/ldstopt.c @@ -877,7 +877,7 @@ static int try_load_after_store(ir_node *load, /* add an convert if needed */ if (store_mode != load_mode) { store_value = new_r_Conv(current_ir_graph, get_nodes_block(load), - store_value, load_mode, 0); + store_value, load_mode); } } @@ -977,7 +977,7 @@ static unsigned follow_Mem_chain(ir_node *load, ir_node *curr) { /* add an convert if needed */ if (get_Load_mode(pred) != load_mode) { - value = new_r_Conv(current_ir_graph, get_nodes_block(load), value, load_mode, 0); + value = new_r_Conv(current_ir_graph, get_nodes_block(load), value, load_mode); } exchange(info->projs[pn_Load_res], value); @@ -1067,7 +1067,7 @@ ir_node *can_replace_load_by_const(const ir_node *load, ir_node *c) { /* copy the value from the const code irg and cast it */ res = copy_const_value(dbg, c); - res = new_rd_Conv(dbg, current_ir_graph, block, res, l_mode, 0); + res = new_rd_Conv(dbg, current_ir_graph, block, res, l_mode); } } else { /* copy the value from the const code irg */