[llvm] 466d266 - [AMDGPU] Fix GFX90x check prefixes in tests (#92254)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 07:13:57 PDT 2024
Author: Jay Foad
Date: 2024-05-15T15:13:53+01:00
New Revision: 466d266945196ebbdefd8d72f654551d54d68600
URL: https://github.com/llvm/llvm-project/commit/466d266945196ebbdefd8d72f654551d54d68600
DIFF: https://github.com/llvm/llvm-project/commit/466d266945196ebbdefd8d72f654551d54d68600.diff
LOG: [AMDGPU] Fix GFX90x check prefixes in tests (#92254)
Added:
Modified:
llvm/test/CodeGen/AMDGPU/agpr-register-count.ll
llvm/test/CodeGen/AMDGPU/spill-vgpr.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/agpr-register-count.ll b/llvm/test/CodeGen/AMDGPU/agpr-register-count.ll
index f84d476fc1227..bd5dc6e207098 100644
--- a/llvm/test/CodeGen/AMDGPU/agpr-register-count.ll
+++ b/llvm/test/CodeGen/AMDGPU/agpr-register-count.ll
@@ -157,10 +157,8 @@ declare void @undef_func()
; GFX908: .amdhsa_next_free_vgpr 32
; GFX90A: .amdhsa_next_free_vgpr 64
; GFX90A: .amdhsa_accum_offset 32
-; GCN908: NumVgprs: 128
-; GCN908: NumAgprs: 128
-; GCN90A: NumVgprs: 256
-; GCN90A: NumAgprs: 256
+; GCN: NumVgprs: 32
+; GCN: NumAgprs: 32
; GFX908: TotalNumVgprs: 32
; GFX90A: TotalNumVgprs: 64
; GFX908: VGPRBlocks: 7
diff --git a/llvm/test/CodeGen/AMDGPU/spill-vgpr.ll b/llvm/test/CodeGen/AMDGPU/spill-vgpr.ll
index 9eacb88066c0f..1cc5b7f7d14ee 100644
--- a/llvm/test/CodeGen/AMDGPU/spill-vgpr.ll
+++ b/llvm/test/CodeGen/AMDGPU/spill-vgpr.ll
@@ -88,8 +88,8 @@ define amdgpu_kernel void @max_10_vgprs_spill_v32(ptr addrspace(1) %p) #0 {
; GFX900: ScratchSize: 132
; GFX908: NumVgprs: 252
; GFX908: ScratchSize: 0
-; GCN900: VGPRBlocks: 63
-; GCN908: VGPRBlocks: 62
+; GFX900: VGPRBlocks: 63
+; GFX908: VGPRBlocks: 62
; GFX900: NumVGPRsForWavesPerEU: 256
; GFX908: NumVGPRsForWavesPerEU: 252
define amdgpu_kernel void @max_256_vgprs_spill_9x32(ptr addrspace(1) %p) #1 {
More information about the llvm-commits
mailing list