yaxunl added inline comments. ================ Comment at: test/CodeGenOpenCL/kernel-attributes.cl:9 @@ -8,3 +10,1 @@ -// CHECK: opencl.kernels = !{[[MDNODE0:![0-9]+]], [[MDNODE3:![0-9]+]]} - ---------------- bader wrote: > AFAIK, this named metadata node were also useful for kernel functions > traversal. > What is the new BKM to differentiate kernel/non-kernel functions? > Check for !kernel_arg_* function attribute? I think it could be used for that purpose, since kernel functions and only kernel functions have this function attribute.
http://reviews.llvm.org/D20979 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits