[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / hsa-metadata-uniform-workgroup-size-v5.ll
blob328e7bfd4bc9009a7828b02d2170a0cc7e35187b
1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj -o - < %s | llvm-readelf --notes - | FileCheck %s
2 ; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx900 < %s | FileCheck %s
4 ; CHECK: ---
5 ; CHECK: amdhsa.kernels:
6 ; CHECK:  - .args:
7 ; CHECK-LABEL:     .name:           kernel_uniform_workgroup
8 ; CHECK:     .uniform_work_group_size: 1
9 define amdgpu_kernel void @kernel_uniform_workgroup() #0 {
10 bb:
11   ret void
14 ; CHECK:  - .args:
15 ; CHECK-LABEL:     .name:           kernel_non_uniform_workgroup
16 ; CHECK-NOT:     .uniform_work_group_size:
17 define amdgpu_kernel void @kernel_non_uniform_workgroup() #1 {
18 bb:
19   ret void
22 ; CHECK:  - .args:
23 ; CHECK-LABEL:     .name:           kernel_no_attr
24 ; CHECK-NOT:     .uniform_work_group_size:
25 define amdgpu_kernel void @kernel_no_attr() {
26 bb:
27   ret void
29 attributes #0 = { "uniform-work-group-size"="true" }
30 attributes #1 = { "uniform-work-group-size"="false" }
32 !llvm.module.flags = !{!0}
33 !0 = !{i32 1, !"amdgpu_code_object_version", i32 500}