Revert "simplify CBR-CBR on the same condition"
commit1bd9ba3272b269a43be02ee380576e77652a563a
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 16 Mar 2021 22:18:00 +0000 (16 23:18 +0100)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Fri, 19 Mar 2021 22:56:44 +0000 (19 23:56 +0100)
tree8c3b3efd8c7eb2664a5f4e7e92a8d49aad7a20d1
parent5e674421d5f144612a8d39cafae557bbfa7026fa
Revert "simplify CBR-CBR on the same condition"

The commit 7cd2ce022575 ("simplify CBR-CBR on the same condition")
added a generalization of the existing CBR-CBR simplification
using the dominance tree.

The problem is that as soon as a change is made to the CFG, the
dominance tree become invalid and should be rebuilt (which is costly
to do for each CFG changes) or updated (which is quite complex).

So, for now, revert this commit.

Reverts: 7cd2ce022575fbd383bb39b54f1e0fa402919da2.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
flow.c