Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
      2 
      3 ; CHECK-NOT: imul
      4 
      5 define i64 @t1(i64 %a) nounwind readnone {
      6 entry:
      7   %0 = mul i64 %a, 81
      8 ; CHECK: lea
      9 ; CHECK: lea
     10   ret i64 %0
     11 }
     12 
     13 define i64 @t2(i64 %a) nounwind readnone {
     14 entry:
     15   %0 = mul i64 %a, 40
     16 ; CHECK: shl
     17 ; CHECK: lea
     18   ret i64 %0
     19 }
     20