Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 | grep mul | count 2
      2 
      3 define i64 @i32_sext_i64(i32 %a, i32 %b) {
      4   %aa = sext i32 %a to i64
      5   %bb = sext i32 %b to i64
      6   %cc = mul i64 %aa, %bb
      7   ret i64 %cc
      8 }
      9 define i64 @i32_zext_i64(i32 %a, i32 %b) {
     10   %aa = zext i32 %a to i64
     11   %bb = zext i32 %b to i64
     12   %cc = mul i64 %aa, %bb
     13   ret i64 %cc
     14 }
     15