r237007 - [cuda] Fixed test case failure on s390x

Artem Belevich tra at google.com
Mon May 11 11:35:58 PDT 2015


Author: tra
Date: Mon May 11 13:35:58 2015
New Revision: 237007

URL: http://llvm.org/viewvc/llvm-project?rev=237007&view=rev
Log:
[cuda] Fixed test case failure on s390x

Modified:
    cfe/trunk/test/CodeGenCUDA/device-stub.cu

Modified: cfe/trunk/test/CodeGenCUDA/device-stub.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCUDA/device-stub.cu?rev=237007&r1=237006&r2=237007&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCUDA/device-stub.cu (original)
+++ cfe/trunk/test/CodeGenCUDA/device-stub.cu Mon May 11 13:35:58 2015
@@ -4,7 +4,7 @@
 
 // Make sure that all parts of GPU code init/cleanup are there:
 // * constant unnamed string with the kernel name
-// CHECK: private unnamed_addr constant{{.*}}kernelfunc{{.*}}\00", align 1
+// CHECK: private unnamed_addr constant{{.*}}kernelfunc{{.*}}\00"
 // * constant unnamed string with GPU binary
 // CHECK: private unnamed_addr constant{{.*}}\00"
 // * constant struct that wraps GPU binary
@@ -29,7 +29,7 @@ __global__ void kernelfunc(int i, int j,
 // Test that we've built correct kernel launch sequence.
 // CHECK: define{{.*}}hostfunc
 // CHECK: call{{.*}}cudaConfigureCall
-// CHEKC: call{{.*}}kernelfunc
+// CHECK: call{{.*}}kernelfunc
 void hostfunc(void) { kernelfunc<<<1, 1>>>(1, 1, 1); }
 
 // Test that we've built a function to register kernels





More information about the cfe-commits mailing list