2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -relocation-model=pic -frame-pointer=all -stats 2>&1 | not grep ext-opt
4 define fastcc ptr @S_scan_str(ptr %start, i32 %keep_quoted, i32 %keep_delims) nounwind ssp {
6 switch i8 undef, label %bb6 [
14 bb5: ; preds = %entry, %entry, %entry, %entry, %entry
17 bb6: ; preds = %bb5, %entry
18 br i1 undef, label %bb7, label %bb9
24 %0 = load i8, ptr undef, align 1 ; <i8> [#uses=3]
25 br i1 undef, label %bb12, label %bb10
28 br i1 undef, label %bb12, label %bb11
33 bb12: ; preds = %bb10, %bb9
34 br i1 undef, label %bb13, label %bb14
37 store i8 %0, ptr undef, align 1
38 %1 = zext i8 %0 to i32 ; <i32> [#uses=1]
44 bb18: ; preds = %bb14, %bb13
45 %termcode.0 = phi i32 [ %1, %bb13 ], [ undef, %bb14 ] ; <i32> [#uses=2]
46 %2 = icmp eq i8 %0, 0 ; <i1> [#uses=1]
47 br i1 %2, label %bb21, label %bb19
50 br i1 undef, label %bb21, label %bb20
55 bb21: ; preds = %bb20, %bb19, %bb18
56 %termcode.1 = phi i32 [ %termcode.0, %bb18 ], [ %termcode.0, %bb19 ], [ undef, %bb20 ] ; <i32> [#uses=0]