Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 > %t
      2 ; RUN: not grep cmp %t
      3 ; RUN: not grep test %t
      4 
      5 define void @loop(i64 %n, double* nocapture %d) nounwind {
      6 entry:
      7 	br label %bb
      8 
      9 bb:
     10 	%indvar = phi i64 [ %n, %entry ], [ %indvar.next, %bb ]
     11 	%i.03 = add i64 %indvar, %n
     12 	%0 = getelementptr double, double* %d, i64 %i.03
     13 	%1 = load double, double* %0, align 8
     14 	%2 = fmul double %1, 3.000000e+00
     15 	store double %2, double* %0, align 8
     16 	%indvar.next = add i64 %indvar, 1
     17 	%exitcond = icmp eq i64 %indvar.next, 0
     18 	br i1 %exitcond, label %return, label %bb
     19 
     20 return:
     21 	ret void
     22 }
     23