xref: /llvm-project/llvm/test/CodeGen/AMDGPU/tgsplit.ll (revision a8d9d50762c42d726274d3f1126ec97ff96e2a22)
1; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a < %s | FileCheck -check-prefixes=GCN,NOTGSPLIT %s
2; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -mattr=+tgsplit < %s | FileCheck -check-prefixes=GCN,TGSPLIT %s
3
4; GCN-LABEL: .amdhsa_kernel test
5; NOTGSPLIT: .amdhsa_tg_split 0
6; NOTGSPLIT: COMPUTE_PGM_RSRC3_GFX90A:TG_SPLIT: 0
7; TGSPLIT:   .amdhsa_tg_split 1
8; TGSPLIT:   COMPUTE_PGM_RSRC3_GFX90A:TG_SPLIT: 1
9define amdgpu_kernel void @test() {
10  ret void
11}
12