Skip to content

[AMDGPU] Fix GFX90x check prefixes in tests #92254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions llvm/test/CodeGen/AMDGPU/agpr-register-count.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +160 to +161
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been part of https://reviews.llvm.org/D117504 "AMDGPU: Convert AMDGPUResourceUsageAnalysis to a Module pass"

; GFX908: TotalNumVgprs: 32
; GFX90A: TotalNumVgprs: 64
; GFX908: VGPRBlocks: 7
Expand Down
4 changes: 2 additions & 2 deletions llvm/test/CodeGen/AMDGPU/spill-vgpr.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading