1 ; RUN: opt -S -mtriple=amdgcn-amd- -amdgpu-annotate-kernel-features %s | FileCheck %s
3 ; If the kernel does not have the uniform-work-group-attribute, set both callee and caller as false
5 ; CHECK: define void @foo() #[[FOO:[0-9]+]] {
6 define void @foo() #0 {
10 ; CHECK: define amdgpu_kernel void @kernel1() #[[FOO]] {
11 define amdgpu_kernel void @kernel1() #1 {
16 attributes #0 = { "uniform-work-group-size"="true" }
18 ; CHECK: attributes #[[FOO]] = { "uniform-work-group-size"="false" }