summaryrefslogtreecommitdiff
path: root/test/CodeGenOpenCL/ptx-calls.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenOpenCL/ptx-calls.cl')
-rw-r--r--test/CodeGenOpenCL/ptx-calls.cl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenOpenCL/ptx-calls.cl b/test/CodeGenOpenCL/ptx-calls.cl
index d9904513e5..00f2a0e4c0 100644
--- a/test/CodeGenOpenCL/ptx-calls.cl
+++ b/test/CodeGenOpenCL/ptx-calls.cl
@@ -2,12 +2,12 @@
void device_function() {
}
-// CHECK: define void @device_function()
+// CHECK-LABEL: define void @device_function()
__kernel void kernel_function() {
device_function();
}
-// CHECK: define void @kernel_function()
+// CHECK-LABEL: define void @kernel_function()
// CHECK: call void @device_function()
// CHECK: !{{[0-9]+}} = metadata !{void ()* @kernel_function, metadata !"kernel", i32 1}