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