1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
4 define i64 @i32_sext_i64(i32 %a, i32 %b) {
5 ; CHECK-LABEL: i32_sext_i64:
7 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: imull {{[0-9]+}}(%esp)
10 %aa = sext i32 %a to i64
11 %bb = sext i32 %b to i64
12 %cc = mul i64 %aa, %bb
15 define i64 @i32_zext_i64(i32 %a, i32 %b) {
16 ; CHECK-LABEL: i32_zext_i64:
18 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
19 ; CHECK-NEXT: mull {{[0-9]+}}(%esp)
21 %aa = zext i32 %a to i64
22 %bb = zext i32 %b to i64
23 %cc = mul i64 %aa, %bb