blob: 7e35a335647bb0adb4f7a1e54e08ddb46806e15a [file] [log] [blame]
// RUN: %clang_cc1 %s -cl-kernel-arg-info -emit-llvm -o - | FileCheck %s
kernel void foo(global int *X, int Y, int anotherArg) {
*X = Y + anotherArg;
}
// CHECK: metadata !{metadata !"kernel_arg_name", metadata !"X", metadata !"Y", metadata !"anotherArg"}