From: Michael Beck Date: Wed, 13 Jun 2007 12:51:49 +0000 (+0000) Subject: Phi optimization must be strictly dominated X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e15091dcbbd8f8e580f1067a2f3f13a16231f3f4;p=libfirm Phi optimization must be strictly dominated [r14460] --- diff --git a/ir/opt/ldstopt.c b/ir/opt/ldstopt.c index 8b2e78c94..588a55c46 100644 --- a/ir/opt/ldstopt.c +++ b/ir/opt/ldstopt.c @@ -997,7 +997,7 @@ static unsigned optimize_phi(ir_node *phi, walk_env_t *wenv) return 0; phi_block = get_nodes_block(phi); - if (! block_postdominates(phi_block, block)) + if (! block_strictly_postdominates(phi_block, block)) return 0; /* this is the address of the store */