Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -mtriple=arm-apple-darwin -mcpu=cortex-a8 | FileCheck %s
      2 define i32 @f1(i32 %a, i32 %b, i32 %c) {
      3 ; CHECK-LABEL: f1:
      4 ; CHECK: mlsne r0, r0, r1, r2
      5     %tmp1 = icmp eq i32 %a, 0
      6     br i1 %tmp1, label %cond_false, label %cond_true
      7 
      8 cond_true:
      9     %tmp2 = mul i32 %a, %b
     10     %tmp3 = sub i32 %c, %tmp2
     11     ret i32 %tmp3
     12 
     13 cond_false:
     14     ret i32 %a
     15 }
     16