brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 125205d Raw
56 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS323--- |4 5  define void @zext() {entry: ret void}6  define void @sext() {entry: ret void}7 8...9---10name:            zext11alignment:       412tracksRegLiveness: true13body:             |14  bb.1.entry:15    liveins: $a016 17    ; MIPS32-LABEL: name: zext18    ; MIPS32: liveins: $a019    ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a020    ; MIPS32: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 021    ; MIPS32: $v0 = COPY [[COPY]](s32)22    ; MIPS32: $v1 = COPY [[C]](s32)23    ; MIPS32: RetRA implicit $v0, implicit $v124    %0:_(s32) = COPY $a025    %1:_(s64) = G_ZEXT %0(s32)26    %2:_(s32), %3:_(s32) = G_UNMERGE_VALUES %1(s64)27    $v0 = COPY %2(s32)28    $v1 = COPY %3(s32)29    RetRA implicit $v0, implicit $v130 31...32---33name:            sext34alignment:       435tracksRegLiveness: true36body:             |37  bb.1.entry:38    liveins: $a039 40    ; MIPS32-LABEL: name: sext41    ; MIPS32: liveins: $a042    ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a043    ; MIPS32: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 3144    ; MIPS32: [[ASHR:%[0-9]+]]:_(s32) = G_ASHR [[COPY]], [[C]](s32)45    ; MIPS32: $v0 = COPY [[COPY]](s32)46    ; MIPS32: $v1 = COPY [[ASHR]](s32)47    ; MIPS32: RetRA implicit $v0, implicit $v148    %0:_(s32) = COPY $a049    %1:_(s64) = G_SEXT %0(s32)50    %2:_(s32), %3:_(s32) = G_UNMERGE_VALUES %1(s64)51    $v0 = COPY %2(s32)52    $v1 = COPY %3(s32)53    RetRA implicit $v0, implicit $v154 55...56