summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/hsa-metadata-wavefrontsize.ll
blob: a30184d6814b43fbda8c047c7d7b0130e5515dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -mattr=-code-object-v3,+wavefrontsize32,-wavefrontsize64 < %s | FileCheck -check-prefixes=GCN,GFX10-32 %s
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -mattr=-code-object-v3,-wavefrontsize32,+wavefrontsize64 < %s | FileCheck -check-prefixes=GCN,GFX10-64 %s

; GCN:      ---
; GCN:      Kernels:
; GCN:        - Name: wavefrontsize
; GCN:          CodeProps:
; GFX10-32:       WavefrontSize: 32
; GFX10-64:       WavefrontSize: 64
; GCN:      ...
define amdgpu_kernel void @wavefrontsize() {
entry:
  ret void
}
OpenPOWER on IntegriCloud