---
-name: load_constant_v6s16
-legalized: true
-regBankSelected: true
-tracksRegLiveness: true
-
-body: |
- bb.0:
- liveins: $sgpr0_sgpr1
-
- ; GFX6-LABEL: name: load_constant_v6s16
- ; GFX6: liveins: $sgpr0_sgpr1
- ; GFX6: [[COPY:%[0-9]+]]:sgpr(p4) = COPY $sgpr0_sgpr1
- ; GFX6: [[LOAD:%[0-9]+]]:sgpr(<6 x s16>) = G_LOAD [[COPY]](p4) :: (load 12, align 4, addrspace 4)
- ; GFX6: $sgpr0_sgpr1_sgpr2 = COPY [[LOAD]](<6 x s16>)
- ; GFX7-LABEL: name: load_constant_v6s16
- ; GFX7: liveins: $sgpr0_sgpr1
- ; GFX7: [[COPY:%[0-9]+]]:sgpr(p4) = COPY $sgpr0_sgpr1
- ; GFX7: [[LOAD:%[0-9]+]]:sreg_96(<6 x s16>) = G_LOAD [[COPY]](p4) :: (load 12, align 4, addrspace 4)
- ; GFX7: $sgpr0_sgpr1_sgpr2 = COPY [[LOAD]](<6 x s16>)
- ; GFX8-LABEL: name: load_constant_v6s16
- ; GFX8: liveins: $sgpr0_sgpr1
- ; GFX8: [[COPY:%[0-9]+]]:sgpr(p4) = COPY $sgpr0_sgpr1
- ; GFX8: [[LOAD:%[0-9]+]]:sreg_96(<6 x s16>) = G_LOAD [[COPY]](p4) :: (load 12, align 4, addrspace 4)
- ; GFX8: $sgpr0_sgpr1_sgpr2 = COPY [[LOAD]](<6 x s16>)
- ; GFX10-LABEL: name: load_constant_v6s16
- ; GFX10: liveins: $sgpr0_sgpr1
- ; GFX10: [[COPY:%[0-9]+]]:sgpr(p4) = COPY $sgpr0_sgpr1
- ; GFX10: [[LOAD:%[0-9]+]]:sreg_96(<6 x s16>) = G_LOAD [[COPY]](p4) :: (load 12, align 4, addrspace 4)
- ; GFX10: $sgpr0_sgpr1_sgpr2 = COPY [[LOAD]](<6 x s16>)
- %0:sgpr(p4) = COPY $sgpr0_sgpr1
- %1:sgpr(<6 x s16>) = G_LOAD %0 :: (load 12, align 4, addrspace 4)
- $sgpr0_sgpr1_sgpr2 = COPY %1
-
-...
-
----
-
name: load_constant_v8s16
legalized: true
regBankSelected: true