Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

25 lines
612 B
LLVM

; RUN: opt < %s -adce | llvm-dis
; RUN: opt < %s -adce -verify-dom-info | llvm-dis
define void @foo() {
entry:
br label %switch
switch: ; preds = %entry
switch i32 undef, label %default [
i32 2, label %two
i32 5, label %five
i32 4, label %four
]
four: ; preds = %switch
br label %exit
five: ; preds = %switch
br label %exit
two: ; preds = %switch
br label %exit
default: ; preds = %switch
br label %exit
exit: ; preds = %default, %two, %five, %four
ret void
}