1 ; RUN: llc -verify-loop-info -verify-dom-info -mtriple=x86_64-- < %s
4 @.str96 = external constant [37 x i8], align 8 ; <ptr> [#uses=1]
6 define void @foo() nounwind {
10 ybb1: ; preds = %yybb13, %xbb6, %bb
11 switch i32 undef, label %bb18 [
19 %tmp = icmp eq ptr undef, null ; <i1> [#uses=1]
20 br i1 %tmp, label %bb3, label %xbb6
26 store i32 0, ptr undef, align 8
27 br i1 undef, label %xbb6, label %bb5
30 call fastcc void @decl_mode_check_failed() nounwind
33 xbb6: ; preds = %xbb4, %ybb2
34 %tmp7 = icmp slt i32 undef, 0 ; <i1> [#uses=1]
35 br i1 %tmp7, label %xbb4, label %ybb1
38 %tmp9 = icmp eq ptr undef, null ; <i1> [#uses=1]
39 br i1 %tmp9, label %bb10, label %ybb12
42 %tmp11 = load ptr, ptr undef, align 8 ; <ptr> [#uses=1]
43 call void (ptr, ...) @fatal(ptr @.str96, ptr %tmp11) nounwind
46 ybb12: ; preds = %ybb8
47 br i1 undef, label %bb15, label %ybb13
49 ybb13: ; preds = %ybb12
50 %tmp14 = icmp sgt i32 undef, 0 ; <i1> [#uses=1]
51 br i1 %tmp14, label %bb16, label %ybb1
53 bb15: ; preds = %ybb12
54 call void (ptr, ...) @fatal(ptr @.str96, ptr undef) nounwind
57 bb16: ; preds = %ybb13
70 declare void @fatal(ptr, ...)
72 declare fastcc void @decl_mode_check_failed() nounwind