1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/CodeGen/AMDGPU/tgsplit.ll
Stanislav Mekhanoshin f1c6dbc4d5 [AMDGPU] gfx90a support
Differential Revision: https://reviews.llvm.org/D96906
2021-02-17 16:01:32 -08:00

12 lines
463 B
LLVM

; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a < %s | FileCheck -check-prefixes=GCN,NOTGSPLIT %s
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -mattr=+tgsplit < %s | FileCheck -check-prefixes=GCN,TGSPLIT %s
; GCN-LABEL: .amdhsa_kernel test
; NOTGSPLIT: .amdhsa_tg_split 0
; NOTGSPLIT: COMPUTE_PGM_RSRC3_GFX90A:TG_SPLIT: 0
; TGSPLIT: .amdhsa_tg_split 1
; TGSPLIT: COMPUTE_PGM_RSRC3_GFX90A:TG_SPLIT: 1
define amdgpu_kernel void @test() {
ret void
}