summaryrefslogtreecommitdiff
path: root/test/CodeGenOpenCL/ptx-calls.cl
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
commit93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch)
tree938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGenOpenCL/ptx-calls.cl
parent233fbe1f56183878167a56be53425a6dd25ba334 (diff)
downloadclang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.gz
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
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}