brintos

brintos / llvm-project-archived public Read only

0
0
Text · 699 B · 1e29545 Raw
27 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc  -O0 -mtriple=mipsel-linux-gnu -global-isel  -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS323 4define i64 @zext(i32 %x) {5; MIPS32-LABEL: zext:6; MIPS32:       # %bb.0: # %entry7; MIPS32-NEXT:    move $2, $48; MIPS32-NEXT:    ori $3, $zero, 09; MIPS32-NEXT:    jr $ra10; MIPS32-NEXT:    nop11entry:12  %conv = zext i32 %x to i6413  ret i64 %conv14}15 16define i64 @sext(i32 %x) {17; MIPS32-LABEL: sext:18; MIPS32:       # %bb.0: # %entry19; MIPS32-NEXT:    move $2, $420; MIPS32-NEXT:    sra $3, $2, 3121; MIPS32-NEXT:    jr $ra22; MIPS32-NEXT:    nop23entry:24  %conv = sext i32 %x to i6425  ret i64 %conv26}27