[llvm] e6701e5 - AMDGPU: Add missing runline to test
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 29 17:59:44 PDT 2021
Author: Matt Arsenault
Date: 2021-04-29T20:59:22-04:00
New Revision: e6701e575cfd035d808edf2752881c4b6bba77d1
URL: https://github.com/llvm/llvm-project/commit/e6701e575cfd035d808edf2752881c4b6bba77d1
DIFF: https://github.com/llvm/llvm-project/commit/e6701e575cfd035d808edf2752881c4b6bba77d1.diff
LOG: AMDGPU: Add missing runline to test
There are checks for gfx908, but this wasn't actually running with it.
Added:
Modified:
llvm/test/CodeGen/AMDGPU/agpr-csr.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/agpr-csr.ll b/llvm/test/CodeGen/AMDGPU/agpr-csr.ll
index 708be530047bd..57ab426792860 100644
--- a/llvm/test/CodeGen/AMDGPU/agpr-csr.ll
+++ b/llvm/test/CodeGen/AMDGPU/agpr-csr.ll
@@ -1,4 +1,5 @@
; RUN: llc -march=amdgcn -mcpu=gfx90a -verify-machineinstrs < %s | FileCheck --check-prefixes=GCN,GFX90A %s
+; RUN: llc -march=amdgcn -mcpu=gfx908 -verify-machineinstrs < %s | FileCheck --check-prefixes=GCN,GFX908 %s
; GCN-LABEL: {{^}}func_empty:
; GCN-NOT: buffer_
@@ -33,11 +34,13 @@ define void @func_areg_32() #0 {
}
; GCN-LABEL: {{^}}func_areg_33:
-; GFX908-NOT: buffer_
-; GCN-NOT: v_accvgpr
+; GCN-NOT: a32
+; GFX90A: buffer_store_dword a32, off, s[0:3], s32 ; 4-byte Folded Spill
+; GCN-NOT: a32
; GCN: use agpr32
-; GFX908-NOT: buffer_
-; GCN-NOT: v_accvgpr
+; GCN-NOT: a32
+; GFX90A: buffer_load_dword a32, off, s[0:3], s32 ; 4-byte Folded Reload
+; GCN-NOT: a32
; GCN: s_setpc_b64
define void @func_areg_33() #0 {
call void asm sideeffect "; use agpr32", "~{a32}" ()
More information about the llvm-commits
mailing list