1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
4 define i64 @zext(i32 %x) {
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: move $2, $4
8 ; MIPS32-NEXT: ori $3, $zero, 0
12 %conv = zext i32 %x to i64
16 define i64 @sext(i32 %x) {
18 ; MIPS32: # %bb.0: # %entry
19 ; MIPS32-NEXT: move $2, $4
20 ; MIPS32-NEXT: sra $3, $2, 31
24 %conv = sext i32 %x to i64