brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 6c9c168 Raw
37 lines · plain
1; RUN: llc -mtriple=msp430 < %s2; PR55583 4define i64 @_strtoll_r(i16 %base) nounwind {5entry:6  br i1 undef, label %if.then, label %if.end277 8if.then:                                          ; preds = %do.end9  br label %if.end2710 11if.end27:                                         ; preds = %if.then, %do.end12  %cond66 = select i1 undef, i64 -9223372036854775808, i64 9223372036854775807 ; <i64> [#uses=3]13  %conv69 = sext i16 %base to i64                 ; <i64> [#uses=1]14  %div = udiv i64 %cond66, %conv69                ; <i64> [#uses=1]15  br label %for.cond16 17for.cond:                                         ; preds = %if.end116, %if.end2718  br i1 undef, label %if.then152, label %if.then9319 20if.then93:                                        ; preds = %for.cond21  br i1 undef, label %if.end116, label %if.then15222 23if.end116:                                        ; preds = %if.then9324  %cmp123 = icmp ugt i64 undef, %div              ; <i1> [#uses=1]25  %or.cond = or i1 undef, %cmp123                 ; <i1> [#uses=0]26  br label %for.cond27 28if.then152:                                       ; preds = %if.then93, %for.cond29  br i1 undef, label %if.end182, label %if.then17230 31if.then172:                                       ; preds = %if.then15232  ret i64 %cond6633 34if.end182:                                        ; preds = %if.then15235  ret i64 %cond6636}37