1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
7 tracksRegLiveness: true
12 ; MIPS32-LABEL: name: store_i32
13 ; MIPS32: liveins: $a0, $a1
15 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
16 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
17 ; MIPS32-NEXT: G_STORE [[COPY]](s32), [[COPY1]](p0) :: (store (s32))
21 G_STORE %0(s32), %1(p0) :: (store (s32))
29 tracksRegLiveness: true
32 liveins: $a0, $a1, $a2
34 ; MIPS32-LABEL: name: store_i64
35 ; MIPS32: liveins: $a0, $a1, $a2
37 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
38 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1
39 ; MIPS32-NEXT: [[MV:%[0-9]+]]:_(s64) = G_MERGE_VALUES [[COPY]](s32), [[COPY1]](s32)
40 ; MIPS32-NEXT: [[COPY2:%[0-9]+]]:_(p0) = COPY $a2
41 ; MIPS32-NEXT: G_STORE [[MV]](s64), [[COPY2]](p0) :: (store (s64))
45 %0:_(s64) = G_MERGE_VALUES %2(s32), %3(s32)
47 G_STORE %0(s64), %1(p0) :: (store (s64))
55 tracksRegLiveness: true
60 ; MIPS32-LABEL: name: store_float
61 ; MIPS32: liveins: $a1, $f12
63 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $f12
64 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
65 ; MIPS32-NEXT: G_STORE [[COPY]](s32), [[COPY1]](p0) :: (store (s32))
69 G_STORE %0(s32), %1(p0) :: (store (s32))
77 tracksRegLiveness: true
82 ; MIPS32-LABEL: name: store_double
83 ; MIPS32: liveins: $a2, $d6
85 ; MIPS32-NEXT: [[COPY:%[0-9]+]]:_(s64) = COPY $d6
86 ; MIPS32-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a2
87 ; MIPS32-NEXT: G_STORE [[COPY]](s64), [[COPY1]](p0) :: (store (s64))
91 G_STORE %0(s64), %1(p0) :: (store (s64))