X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firarch.c;h=d72fbe951f57e6173fb3f8e01adb1785c5d49ed0;hb=581e5849ae58a13ab250626059da2abb506f24a6;hp=387310f1936a8d37867529754a8083f3f307720d;hpb=e84184056559e90f2dffc7f7648f40705864e088;p=libfirm diff --git a/ir/ir/irarch.c b/ir/ir/irarch.c index 387310f19..d72fbe951 100644 --- a/ir/ir/irarch.c +++ b/ir/ir/irarch.c @@ -928,7 +928,7 @@ ir_node *arch_dep_replace_div_by_const(ir_node *irn) { ir_node *curr = left; /* create the correction code for signed values only if there might be a remainder */ - if (! is_Div_remainderless(irn)) { + if (! get_Div_no_remainder(irn)) { if (k != 1) { k_node = new_Const_long(mode_Iu, k - 1); curr = new_rd_Shrs(dbg, current_ir_graph, block, left, k_node, mode);