1 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -amdgpu-annotate-kernel-features %s | FileCheck %s
3 ; CHECK: define void @func1() #[[FUNC:[0-9]+]] {
8 ; CHECK: define void @func4() #[[FUNC]] {
13 ; CHECK: define void @func2() #[[FUNC]] {
14 define void @func2() #0 {
20 ; CHECK: define void @func3() #[[FUNC]] {
21 define void @func3() {
26 ; CHECK: define amdgpu_kernel void @kernel3() #[[FUNC:[0-9]+]] {
27 define amdgpu_kernel void @kernel3() #0 {
33 attributes #0 = { "uniform-work-group-size"="false" }
35 ; CHECK: attributes #[[FUNC]] = { "amdgpu-flat-scratch" "uniform-work-group-size"="false" }