Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -relocation-model=pic -disable-fp-elim -stats |& not grep ext-opt
      2 
      3 define fastcc i8* @S_scan_str(i8* %start, i32 %keep_quoted, i32 %keep_delims) nounwind ssp {
      4 entry:
      5   switch i8 undef, label %bb6 [
      6     i8 9, label %bb5
      7     i8 32, label %bb5
      8     i8 10, label %bb5
      9     i8 13, label %bb5
     10     i8 12, label %bb5
     11   ]
     12 
     13 bb5:                                              ; preds = %entry, %entry, %entry, %entry, %entry
     14   br label %bb6
     15 
     16 bb6:                                              ; preds = %bb5, %entry
     17   br i1 undef, label %bb7, label %bb9
     18 
     19 bb7:                                              ; preds = %bb6
     20   unreachable
     21 
     22 bb9:                                              ; preds = %bb6
     23   %0 = load i8* undef, align 1                    ; <i8> [#uses=3]
     24   br i1 undef, label %bb12, label %bb10
     25 
     26 bb10:                                             ; preds = %bb9
     27   br i1 undef, label %bb12, label %bb11
     28 
     29 bb11:                                             ; preds = %bb10
     30   unreachable
     31 
     32 bb12:                                             ; preds = %bb10, %bb9
     33   br i1 undef, label %bb13, label %bb14
     34 
     35 bb13:                                             ; preds = %bb12
     36   store i8 %0, i8* undef, align 1
     37   %1 = zext i8 %0 to i32                          ; <i32> [#uses=1]
     38   br label %bb18
     39 
     40 bb14:                                             ; preds = %bb12
     41   br label %bb18
     42 
     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
     47 
     48 bb19:                                             ; preds = %bb18
     49   br i1 undef, label %bb21, label %bb20
     50 
     51 bb20:                                             ; preds = %bb19
     52   br label %bb21
     53 
     54 bb21:                                             ; preds = %bb20, %bb19, %bb18
     55   %termcode.1 = phi i32 [ %termcode.0, %bb18 ], [ %termcode.0, %bb19 ], [ undef, %bb20 ] ; <i32> [#uses=0]
     56   unreachable
     57 }
     58