95 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: store_i325alignment: 46legalized: true7tracksRegLiveness: true8body: |9 bb.1.entry:10 liveins: $a0, $a111 12 ; MIPS32-LABEL: name: store_i3213 ; MIPS32: liveins: $a0, $a114 ; MIPS32-NEXT: {{ $}}15 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $a016 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a117 ; MIPS32-NEXT: G_STORE [[COPY]](s32), [[COPY1]](p0) :: (store (s32))18 ; MIPS32-NEXT: RetRA19 %0:_(s32) = COPY $a020 %1:_(p0) = COPY $a121 G_STORE %0(s32), %1(p0) :: (store (s32))22 RetRA23 24...25---26name: store_i6427alignment: 428legalized: true29tracksRegLiveness: true30body: |31 bb.1.entry:32 liveins: $a0, $a1, $a233 34 ; MIPS32-LABEL: name: store_i6435 ; MIPS32: liveins: $a0, $a1, $a236 ; MIPS32-NEXT: {{ $}}37 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $a038 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $a139 ; MIPS32-NEXT: [[MV:%[0-9]+]]:_(s64) = G_MERGE_VALUES [[COPY]](s32), [[COPY1]](s32)40 ; MIPS32-NEXT: [[COPY2:%[0-9]+]]:_(p0) = COPY $a241 ; MIPS32-NEXT: G_STORE [[MV]](s64), [[COPY2]](p0) :: (store (s64))42 ; MIPS32-NEXT: RetRA43 %2:_(s32) = COPY $a044 %3:_(s32) = COPY $a145 %0:_(s64) = G_MERGE_VALUES %2(s32), %3(s32)46 %1:_(p0) = COPY $a247 G_STORE %0(s64), %1(p0) :: (store (s64))48 RetRA49 50...51---52name: store_float53alignment: 454legalized: true55tracksRegLiveness: true56body: |57 bb.1.entry:58 liveins: $a1, $f1259 60 ; MIPS32-LABEL: name: store_float61 ; MIPS32: liveins: $a1, $f1262 ; MIPS32-NEXT: {{ $}}63 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $f1264 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a165 ; MIPS32-NEXT: G_STORE [[COPY]](s32), [[COPY1]](p0) :: (store (s32))66 ; MIPS32-NEXT: RetRA67 %0:_(s32) = COPY $f1268 %1:_(p0) = COPY $a169 G_STORE %0(s32), %1(p0) :: (store (s32))70 RetRA71 72...73---74name: store_double75alignment: 476legalized: true77tracksRegLiveness: true78body: |79 bb.1.entry:80 liveins: $a2, $d681 82 ; MIPS32-LABEL: name: store_double83 ; MIPS32: liveins: $a2, $d684 ; MIPS32-NEXT: {{ $}}85 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s64) = COPY $d686 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a287 ; MIPS32-NEXT: G_STORE [[COPY]](s64), [[COPY1]](p0) :: (store (s64))88 ; MIPS32-NEXT: RetRA89 %0:_(s64) = COPY $d690 %1:_(p0) = COPY $a291 G_STORE %0(s64), %1(p0) :: (store (s64))92 RetRA93 94...95