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