• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -simplifycfg -S | \
2; RUN: not grep "br label"
3
4define void @test(i1 %C) {
5        br i1 %C, label %A, label %B
6A:              ; preds = %0
7        call void @test( i1 %C )
8        br label %X
9B:              ; preds = %0
10        call void @test( i1 %C )
11        br label %X
12X:              ; preds = %B, %A
13        ret void
14}
15
16