18 lines · plain
1; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -mattr=+cumode < %s | FileCheck -check-prefix=GFX10 %s2; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 < %s | FileCheck -check-prefix=GFX10-CU %s3; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -mattr=+cumode < %s | FileCheck -check-prefix=GFX10 %s4; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 < %s | FileCheck -check-prefix=GFX10-CU %s5 6; GFX10: .amdhsa_workgroup_processor_mode 07; GFX10: .workgroup_processor_mode: 08; GFX10-CU: .amdhsa_workgroup_processor_mode 19; GFX10-CU: .workgroup_processor_mode: 110 11define amdgpu_kernel void @wavefrontsize() {12entry:13 ret void14}15 16!llvm.module.flags = !{!0}17!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}18