1 ; This test checks to make sure that 'br X, Dest, Dest' is folded into
4 ; RUN: opt < %s -simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
9 define i32 @test(i1 %c1, i1 %c2) {
11 br i1 %c1, label %A, label %Y
14 br i1 %c2, label %X, label %X
15 X: ; preds = %Y, %A, %A