1
; RUN: llc -verify-loop-info -verify-dom-info -march=x86-64 < %s
4
@.str96 = external constant [37 x i8], align 8 ; <[37 x i8]*> [#uses=1]
6
define void @foo() nounwind {
10
ybb1: ; preds = %yybb13, %xbb6, %bb
11
switch i32 undef, label %bb18 [
19
%tmp = icmp eq i8** undef, null ; <i1> [#uses=1]
20
br i1 %tmp, label %bb3, label %xbb6
26
store i32 0, i32* 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 i8** undef, null ; <i1> [#uses=1]
39
br i1 %tmp9, label %bb10, label %ybb12
42
%tmp11 = load i8** undef, align 8 ; <i8*> [#uses=1]
43
call void (i8*, ...)* @fatal(i8* getelementptr inbounds ([37 x i8]* @.str96, i64 0, i64 0), i8* %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 (i8*, ...)* @fatal(i8* getelementptr inbounds ([37 x i8]* @.str96, i64 0, i64 0), i8* undef) nounwind
57
bb16: ; preds = %ybb13
70
declare void @fatal(i8*, ...)
72
declare fastcc void @decl_mode_check_failed() nounwind