Home | History | Annotate | Download | only in X86
      1 ; REQUIRES: asserts
      2 ; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | FileCheck %s
      3 ; CHECK: 7 asm-printer
      4 
      5 define i32 @g(i32 %a, i32 %b) nounwind {
      6 entry:
      7   %tmp.1 = shl i32 %b, 1
      8   %tmp.3 = add i32 %tmp.1, %a
      9   %tmp.5 = mul i32 %tmp.3, %a
     10   %tmp.8 = mul i32 %b, %b
     11   %tmp.9 = add i32 %tmp.5, %tmp.8
     12   ret i32 %tmp.9
     13 }
     14 
     15