From: Artem Belevich Date: Mon, 11 May 2015 18:35:58 +0000 (+0000) Subject: [cuda] Fixed test case failure on s390x X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8520495ff3fcc5e06ed2e9caa75a1f42946e0aa1;p=clang [cuda] Fixed test case failure on s390x git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237007 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCUDA/device-stub.cu b/test/CodeGenCUDA/device-stub.cu index 5d05011315..7f5e159151 100644 --- a/test/CodeGenCUDA/device-stub.cu +++ b/test/CodeGenCUDA/device-stub.cu @@ -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, int k) {} // 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