From: Matthias Braun Date: Tue, 16 Oct 2007 20:58:01 +0000 (+0000) Subject: no need to test mode of other argument in use_source_address_mode X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=24e85058f96c424255afb0de9c05d53b7cd3d0bd;p=libfirm no need to test mode of other argument in use_source_address_mode [r16241] --- diff --git a/ir/be/ia32/ia32_transform.c b/ir/be/ia32/ia32_transform.c index 368a262fe..2ed421263 100644 --- a/ir/be/ia32/ia32_transform.c +++ b/ir/be/ia32/ia32_transform.c @@ -487,9 +487,6 @@ int ia32_use_source_address_mode(ir_node *block, ir_node *node, ir_node *other) if(get_irn_n_edges(node) > 1) return 0; - if(other != NULL && get_Load_mode(load) != get_irn_mode(other)) - return 0; - /* don't do AM if other node inputs depend on the load (via mem-proj) */ if(other != NULL && get_nodes_block(other) == block && heights_reachable_in_block(heights, other, load))