mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-27 02:51:23 -04:00
c33d0e6650
Differential Revision: https://reviews.llvm.org/D63207 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363577 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
570 B
LLVM
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
|
|
}
|