mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
ec9a35a6f9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
422 B
LLVM
20 lines
422 B
LLVM
; RUN: llvm-as < %s | opt -adce -disable-output
|
|
|
|
define void @test() {
|
|
br i1 false, label %then, label %endif
|
|
|
|
then: ; preds = %0
|
|
invoke void null( i8* null )
|
|
to label %invoke_cont unwind label %invoke_catch
|
|
|
|
invoke_catch: ; preds = %then
|
|
unwind
|
|
|
|
invoke_cont: ; preds = %then
|
|
ret void
|
|
|
|
endif: ; preds = %0
|
|
ret void
|
|
}
|
|
|