1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00
llvm-mirror/test/CodeGen/AMDGPU/hsa-metadata-wavefrontsize.ll
Stanislav Mekhanoshin 3240d7297b [AMDGPU] gfx1010 wave32 metadata
Differential Revision: https://reviews.llvm.org/D63207

llvm-svn: 363577
2019-06-17 16:48:56 +00:00

15 lines
570 B
LLVM

; 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
}