diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
| commit | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch) | |
| tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/CodeGenCUDA | |
| parent | 6a0372513edbc473b538d2f724efac50405d6fef (diff) | |
Notes
Diffstat (limited to 'test/CodeGenCUDA')
| -rw-r--r-- | test/CodeGenCUDA/address-spaces.cu | 6 | ||||
| -rw-r--r-- | test/CodeGenCUDA/ptx-kernels.cu | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGenCUDA/address-spaces.cu b/test/CodeGenCUDA/address-spaces.cu index 9df7e3f4d262..04344526f40e 100644 --- a/test/CodeGenCUDA/address-spaces.cu +++ b/test/CodeGenCUDA/address-spaces.cu @@ -12,13 +12,13 @@ __constant__ int j; __shared__ int k; __device__ void foo() { - // CHECK: load i32* bitcast (i32 addrspace(1)* @i to i32*) + // CHECK: load i32* addrspacecast (i32 addrspace(1)* @i to i32*) i++; - // CHECK: load i32* bitcast (i32 addrspace(4)* @j to i32*) + // CHECK: load i32* addrspacecast (i32 addrspace(4)* @j to i32*) j++; - // CHECK: load i32* bitcast (i32 addrspace(3)* @k to i32*) + // CHECK: load i32* addrspacecast (i32 addrspace(3)* @k to i32*) k++; static int li; diff --git a/test/CodeGenCUDA/ptx-kernels.cu b/test/CodeGenCUDA/ptx-kernels.cu index 8d34f4f3a654..211692fcc7c0 100644 --- a/test/CodeGenCUDA/ptx-kernels.cu +++ b/test/CodeGenCUDA/ptx-kernels.cu @@ -2,11 +2,11 @@ #include "../SemaCUDA/cuda.h" -// CHECK: define void @device_function +// CHECK-LABEL: define void @device_function extern "C" __device__ void device_function() {} -// CHECK: define void @global_function +// CHECK-LABEL: define void @global_function extern "C" __global__ void global_function() { // CHECK: call void @device_function |
