1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck -check-prefix=GFX10 %s
2 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 < %s | FileCheck -check-prefix=GFX10-CU %s
3 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck -check-prefix=GFX10 %s
4 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 < %s | FileCheck -check-prefix=GFX10-CU %s
6 ; GFX10: .amdhsa_workgroup_processor_mode 0
7 ; GFX10: .workgroup_processor_mode: 0
8 ; GFX10-CU: .amdhsa_workgroup_processor_mode 1
9 ; GFX10-CU: .workgroup_processor_mode: 1
11 define amdgpu_kernel void @wavefrontsize() {
16 !llvm.module.flags = !{!0}
17 !0 = !{i32 1, !"amdhsa_code_object_version", i32 500}