1 ; Test merging of blocks that only have PHI nodes in them. This tests the case
2 ; where the mergedinto block doesn't have any PHI nodes, and is in fact
3 ; dominated by the block-to-be-eliminated
5 ; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
8 int %test(bool %a, bool %b) {
9 br bool %b, label %N, label %Q
13 %W = phi int [0, %0], [1, %Q]
14 ; This block should be foldable into M