1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=mipsel-linux-gnu -mcpu=mips32r5 -mattr=msa,+fp64 -mattr=nan2008 -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=P5600
6 tracksRegLiveness: true
11 ; P5600-LABEL: name: load_store_v16i8
12 ; P5600: liveins: $a0, $a1
14 ; P5600-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a0
15 ; P5600-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
16 ; P5600-NEXT: [[LOAD:%[0-9]+]]:_(<16 x s8>) = G_LOAD [[COPY1]](p0) :: (load (<16 x s8>))
17 ; P5600-NEXT: G_STORE [[LOAD]](<16 x s8>), [[COPY]](p0) :: (store (<16 x s8>))
21 %2:_(<16 x s8>) = G_LOAD %1(p0) :: (load (<16 x s8>))
22 G_STORE %2(<16 x s8>), %0(p0) :: (store (<16 x s8>))
27 name: load_store_v8i16
29 tracksRegLiveness: true
34 ; P5600-LABEL: name: load_store_v8i16
35 ; P5600: liveins: $a0, $a1
37 ; P5600-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a0
38 ; P5600-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
39 ; P5600-NEXT: [[LOAD:%[0-9]+]]:_(<8 x s16>) = G_LOAD [[COPY1]](p0) :: (load (<8 x s16>))
40 ; P5600-NEXT: G_STORE [[LOAD]](<8 x s16>), [[COPY]](p0) :: (store (<8 x s16>))
44 %2:_(<8 x s16>) = G_LOAD %1(p0) :: (load (<8 x s16>))
45 G_STORE %2(<8 x s16>), %0(p0) :: (store (<8 x s16>))
50 name: load_store_v4i32
52 tracksRegLiveness: true
57 ; P5600-LABEL: name: load_store_v4i32
58 ; P5600: liveins: $a0, $a1
60 ; P5600-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a0
61 ; P5600-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
62 ; P5600-NEXT: [[LOAD:%[0-9]+]]:_(<4 x s32>) = G_LOAD [[COPY1]](p0) :: (load (<4 x s32>))
63 ; P5600-NEXT: G_STORE [[LOAD]](<4 x s32>), [[COPY]](p0) :: (store (<4 x s32>))
67 %2:_(<4 x s32>) = G_LOAD %1(p0) :: (load (<4 x s32>))
68 G_STORE %2(<4 x s32>), %0(p0) :: (store (<4 x s32>))
73 name: load_store_v2i64
75 tracksRegLiveness: true
80 ; P5600-LABEL: name: load_store_v2i64
81 ; P5600: liveins: $a0, $a1
83 ; P5600-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a0
84 ; P5600-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
85 ; P5600-NEXT: [[LOAD:%[0-9]+]]:_(<2 x s64>) = G_LOAD [[COPY1]](p0) :: (load (<2 x s64>))
86 ; P5600-NEXT: G_STORE [[LOAD]](<2 x s64>), [[COPY]](p0) :: (store (<2 x s64>))
90 %2:_(<2 x s64>) = G_LOAD %1(p0) :: (load (<2 x s64>))
91 G_STORE %2(<2 x s64>), %0(p0) :: (store (<2 x s64>))
96 name: load_store_v4f32
98 tracksRegLiveness: true
103 ; P5600-LABEL: name: load_store_v4f32
104 ; P5600: liveins: $a0, $a1
106 ; P5600-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a0
107 ; P5600-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
108 ; P5600-NEXT: [[LOAD:%[0-9]+]]:_(<4 x s32>) = G_LOAD [[COPY1]](p0) :: (load (<4 x s32>))
109 ; P5600-NEXT: G_STORE [[LOAD]](<4 x s32>), [[COPY]](p0) :: (store (<4 x s32>))
113 %2:_(<4 x s32>) = G_LOAD %1(p0) :: (load (<4 x s32>))
114 G_STORE %2(<4 x s32>), %0(p0) :: (store (<4 x s32>))
119 name: load_store_v2f64
121 tracksRegLiveness: true
126 ; P5600-LABEL: name: load_store_v2f64
127 ; P5600: liveins: $a0, $a1
129 ; P5600-NEXT: [[COPY:%[0-9]+]]:_(p0) = COPY $a0
130 ; P5600-NEXT: [[COPY1:%[0-9]+]]:_(p0) = COPY $a1
131 ; P5600-NEXT: [[LOAD:%[0-9]+]]:_(<2 x s64>) = G_LOAD [[COPY1]](p0) :: (load (<2 x s64>))
132 ; P5600-NEXT: G_STORE [[LOAD]](<2 x s64>), [[COPY]](p0) :: (store (<2 x s64>))
136 %2:_(<2 x s64>) = G_LOAD %1(p0) :: (load (<2 x s64>))
137 G_STORE %2(<2 x s64>), %0(p0) :: (store (<2 x s64>))