1; RUN: opt < %s -adce | llvm-dis 2; RUN: opt < %s -adce -verify-dom-info | llvm-dis 3 4define void @foo() { 5entry: 6 br label %switch 7switch: ; preds = %entry 8 switch i32 undef, label %default [ 9 i32 2, label %two 10 i32 5, label %five 11 i32 4, label %four 12 ] 13four: ; preds = %switch 14 br label %exit 15five: ; preds = %switch 16 br label %exit 17two: ; preds = %switch 18 br label %exit 19default: ; preds = %switch 20 br label %exit 21exit: ; preds = %default, %two, %five, %four 22 ret void 23} 24 25