1; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 --amdhsa-code-object-version=2 -mattr=+wavefrontsize32,-wavefrontsize64 < %s | FileCheck -check-prefixes=GCN,GFX10-32 %s
2; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 --amdhsa-code-object-version=2 -mattr=-wavefrontsize32,+wavefrontsize64 < %s | FileCheck -check-prefixes=GCN,GFX10-64 %s
3
4; GCN:      ---
5; GCN:      Kernels:
6; GCN:        - Name: wavefrontsize
7; GCN:          CodeProps:
8; GFX10-32:       WavefrontSize: 32
9; GFX10-64:       WavefrontSize: 64
10; GCN:      ...
11define amdgpu_kernel void @wavefrontsize() {
12entry:
13  ret void
14}
15