From 255d157672262c5a4d5a4241d99610b02edaa459 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 16 Sep 2019 04:21:10 +0000 Subject: [PATCH] AMDGPU/GlobalISel: Remove illegal select tests These fail in a release build. llvm-svn: 371955 --- .../GlobalISel/inst-select-load-constant.mir | 74 ---------------------- 1 file changed, 74 deletions(-) diff --git a/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir b/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir index 9c09ac4..23c01d3 100644 --- a/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir +++ b/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir @@ -196,43 +196,6 @@ body: | --- -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 @@ -422,43 +385,6 @@ body: | --- -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 -- 2.7.4