mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
60b7b29981
llvm-svn: 48483
16 lines
361 B
LLVM
16 lines
361 B
LLVM
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
|
|
; RUN: not grep {br label}
|
|
|
|
define void @test(i1 %C) {
|
|
br i1 %C, label %A, label %B
|
|
A: ; preds = %0
|
|
call void @test( i1 %C )
|
|
br label %X
|
|
B: ; preds = %0
|
|
call void @test( i1 %C )
|
|
br label %X
|
|
X: ; preds = %B, %A
|
|
unwind
|
|
}
|
|
|