Remove equivalent_node_Block
authorAndreas Zwinkau <zwinkau@kit.edu>
Mon, 23 May 2011 14:29:39 +0000 (16:29 +0200)
committerAndreas Zwinkau <zwinkau@kit.edu>
Wed, 25 May 2011 14:11:15 +0000 (16:11 +0200)
commitd3dcbe1c966c99a7dd6f78b93c3706d7a12268e7
tree9a00f62c0814efe721007f3622584fa715b11e7d
parentadaf9f4c537af419ea474af0c9ffacafe6a8a147
Remove equivalent_node_Block

Fixes opt/localopts2

Because of Phis blocks cannot be equivalent. The cfopt must do all
block merging.

For example, consider the case where block A has one predecessor
block B, which contains a Jmp. Naively, we might exchange(A,B).
However, A might contain a Phi with one operand, then the graph
is broken afterwards, since we move the Phi into B as well.
ir/be/beabi.c
ir/ir/iropt.c