1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -relocation-model=pic -disable-fp-elim -stats |& not grep ext-opt
3 define fastcc i8* @S_scan_str(i8* %start, i32 %keep_quoted, i32 %keep_delims) nounwind ssp {
5 switch i8 undef, label %bb6 [
13 bb5: ; preds = %entry, %entry, %entry, %entry, %entry
16 bb6: ; preds = %bb5, %entry
17 br i1 undef, label %bb7, label %bb9
23 %0 = load i8* undef, align 1 ; <i8> [#uses=3]
24 br i1 undef, label %bb12, label %bb10
27 br i1 undef, label %bb12, label %bb11
32 bb12: ; preds = %bb10, %bb9
33 br i1 undef, label %bb13, label %bb14
36 store i8 %0, i8* undef, align 1
37 %1 = zext i8 %0 to i32 ; <i32> [#uses=1]
43 bb18: ; preds = %bb14, %bb13
44 %termcode.0 = phi i32 [ %1, %bb13 ], [ undef, %bb14 ] ; <i32> [#uses=2]
45 %2 = icmp eq i8 %0, 0 ; <i1> [#uses=1]
46 br i1 %2, label %bb21, label %bb19
49 br i1 undef, label %bb21, label %bb20
54 bb21: ; preds = %bb20, %bb19, %bb18
55 %termcode.1 = phi i32 [ %termcode.0, %bb18 ], [ %termcode.0, %bb19 ], [ undef, %bb20 ] ; <i32> [#uses=0]