91 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---4name: load_i325alignment: 46tracksRegLiveness: true7body: |8 bb.1.entry:9 liveins: $a010 11 ; MIPS32-LABEL: name: load_i3212 ; MIPS32: liveins: $a013 ; MIPS32-NEXT: {{ $}}14 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a015 ; MIPS32-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[COPY]](p0) :: (load (s32))16 ; MIPS32-NEXT: $v0 = COPY [[LOAD]](s32)17 ; MIPS32-NEXT: RetRA implicit $v018 %0:_(p0) = COPY $a019 %1:_(s32) = G_LOAD %0(p0) :: (load (s32))20 $v0 = COPY %1(s32)21 RetRA implicit $v022 23...24---25name: load_i6426alignment: 427tracksRegLiveness: true28body: |29 bb.1.entry:30 liveins: $a031 32 ; MIPS32-LABEL: name: load_i6433 ; MIPS32: liveins: $a034 ; MIPS32-NEXT: {{ $}}35 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a036 ; MIPS32-NEXT: [[LOAD:%[0-9]+]]:_(s64) = G_LOAD [[COPY]](p0) :: (load (s64))37 ; MIPS32-NEXT: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[LOAD]](s64)38 ; MIPS32-NEXT: $v0 = COPY [[UV]](s32)39 ; MIPS32-NEXT: $v1 = COPY [[UV1]](s32)40 ; MIPS32-NEXT: RetRA implicit $v0, implicit $v141 %0:_(p0) = COPY $a042 %1:_(s64) = G_LOAD %0(p0) :: (load (s64))43 %2:_(s32), %3:_(s32) = G_UNMERGE_VALUES %1(s64)44 $v0 = COPY %2(s32)45 $v1 = COPY %3(s32)46 RetRA implicit $v0, implicit $v147 48...49---50name: load_float51alignment: 452tracksRegLiveness: true53body: |54 bb.1.entry:55 liveins: $a056 57 ; MIPS32-LABEL: name: load_float58 ; MIPS32: liveins: $a059 ; MIPS32-NEXT: {{ $}}60 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a061 ; MIPS32-NEXT: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[COPY]](p0) :: (load (s32))62 ; MIPS32-NEXT: $f0 = COPY [[LOAD]](s32)63 ; MIPS32-NEXT: RetRA implicit $f064 %0:_(p0) = COPY $a065 %1:_(s32) = G_LOAD %0(p0) :: (load (s32))66 $f0 = COPY %1(s32)67 RetRA implicit $f068 69...70---71name: load_double72alignment: 473tracksRegLiveness: true74body: |75 bb.1.entry:76 liveins: $a077 78 ; MIPS32-LABEL: name: load_double79 ; MIPS32: liveins: $a080 ; MIPS32-NEXT: {{ $}}81 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a082 ; MIPS32-NEXT: [[LOAD:%[0-9]+]]:_(s64) = G_LOAD [[COPY]](p0) :: (load (s64))83 ; MIPS32-NEXT: $d0 = COPY [[LOAD]](s64)84 ; MIPS32-NEXT: RetRA implicit $d085 %0:_(p0) = COPY $a086 %1:_(s64) = G_LOAD %0(p0) :: (load (s64))87 $d0 = COPY %1(s64)88 RetRA implicit $d089 90...91