blob: e82a177ab71e9b80118adee877d8beb2b18846e0 [file]
; RUN: llc -mtriple=amdgpu9.0a-amd-amdhsa < %s | FileCheck -check-prefixes=GCN %s
; GCN-LABEL: .amdhsa_kernel test_notgsplit
; GCN: .amdhsa_tg_split 0
; GCN: COMPUTE_PGM_RSRC3_GFX90A:TG_SPLIT: 0
define amdgpu_kernel void @test_notgsplit() #0 {
ret void
}
; GCN-LABEL: .amdhsa_kernel test_tgsplit
; GCN: .amdhsa_tg_split 1
; GCN: COMPUTE_PGM_RSRC3_GFX90A:TG_SPLIT: 1
define amdgpu_kernel void @test_tgsplit() #1 {
ret void
}
attributes #0 = { nounwind }
attributes #1 = { nounwind "amdgpu-tg-split" }