[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / AMDGPU / hsa-metadata-wavefrontsize.ll
bloba30184d6814b43fbda8c047c7d7b0130e5515dbe
1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -mattr=-code-object-v3,+wavefrontsize32,-wavefrontsize64 < %s | FileCheck -check-prefixes=GCN,GFX10-32 %s
2 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -mattr=-code-object-v3,-wavefrontsize32,+wavefrontsize64 < %s | FileCheck -check-prefixes=GCN,GFX10-64 %s
4 ; GCN:      ---
5 ; GCN:      Kernels:
6 ; GCN:        - Name: wavefrontsize
7 ; GCN:          CodeProps:
8 ; GFX10-32:       WavefrontSize: 32
9 ; GFX10-64:       WavefrontSize: 64
10 ; GCN:      ...
11 define amdgpu_kernel void @wavefrontsize() {
12 entry:
13   ret void