[llvm] d93de1a - [AMDGPU] Add GFX11 coverage to one more test
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 05:18:37 PDT 2022
Author: Jay Foad
Date: 2022-06-20T13:18:28+01:00
New Revision: d93de1acdc46f36a398875a2eda373a2033319b4
URL: https://github.com/llvm/llvm-project/commit/d93de1acdc46f36a398875a2eda373a2033319b4
DIFF: https://github.com/llvm/llvm-project/commit/d93de1acdc46f36a398875a2eda373a2033319b4.diff
LOG: [AMDGPU] Add GFX11 coverage to one more test
Added:
Modified:
llvm/test/CodeGen/AMDGPU/s_code_end.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/s_code_end.ll b/llvm/test/CodeGen/AMDGPU/s_code_end.ll
index 362d6b8497b4..51197f326f2e 100644
--- a/llvm/test/CodeGen/AMDGPU/s_code_end.ll
+++ b/llvm/test/CodeGen/AMDGPU/s_code_end.ll
@@ -4,6 +4,9 @@
; RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1010 -asm-verbose=0 < %s | FileCheck -check-prefixes=GCN,GCN-ASM,GFX10NOEND %s
; RUN: llc -mtriple=amdgcn-- -mcpu=gfx1010 -filetype=obj < %s | llvm-objdump --arch=amdgcn --mcpu=gfx1010 -d - | FileCheck --check-prefixes=GCN,GCN-OBJ,GFX10NOEND,GFX10NOEND-OBJ %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -asm-verbose=0 < %s | FileCheck -check-prefixes=GCN,GCN-ASM,GFX11END-ASM %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -filetype=obj < %s | llvm-objdump --arch=amdgcn --mcpu=gfx1100 -d - | FileCheck --check-prefixes=GCN,GCN-OBJ,GFX11END-OBJ %s
+
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -asm-verbose=0 < %s | FileCheck -check-prefixes=GCN,GCN-ASM,GFX90AEND-ASM %s
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -filetype=obj < %s | llvm-objdump --arch=amdgcn --mcpu=gfx90a --disassemble - | FileCheck -check-prefixes=GCN,GCN-OBJ,GFX90AEND-OBJ %s
@@ -38,17 +41,24 @@ define amdgpu_kernel void @a_kernel2() #0 {
; GCN-ASM-NEXT: [[END_LABEL3:\.Lfunc_end.*]]:
; GCN-ASM-NEXT: .size a_function, [[END_LABEL3]]-a_function
; GFX10END-ASM: .p2alignl 6, 3214868480
+; GFX11END-ASM: .p2alignl 6, 3214868480
; GFX90AEND-ASM: .p2alignl 6, 3212836864
; GFX10END-ASM-NEXT: .fill 48, 4, 3214868480
+; GFX11END-ASM-NEXT: .fill 48, 4, 3214868480
; GFX90AEND-ASM-NEXT: .fill 256, 4, 3212836864
; GFX10NOEND-NOT: .fill
+; GFX11NOEND-NOT: .fill
; GFX10NOEND-OBJ-NOT: s_code_end
; GFX10END-OBJ-NEXT: s_code_end
+; GFX11NOEND-OBJ-NOT: s_code_end
+; GFX11END-OBJ-NEXT: s_code_end
; GFX90AEND-OBJ-NEXT: s_nop 0
; GFX10END-OBJ: s_code_end // 000000000140:
; GFX10END-OBJ-COUNT-47: s_code_end
+; GFX11END-OBJ: s_code_end // 000000000140:
+; GFX11END-OBJ-COUNT-47: s_code_end
; GFX90AEND-OBJ: s_nop 0 // 000000000140:
; GFX90AEND-OBJ-COUNT-255: s_nop 0
More information about the llvm-commits
mailing list