]> granicus.if.org Git - clang/commitdiff
[cuda] Fixed test case failure on s390x
authorArtem Belevich <tra@google.com>
Mon, 11 May 2015 18:35:58 +0000 (18:35 +0000)
committerArtem Belevich <tra@google.com>
Mon, 11 May 2015 18:35:58 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237007 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCUDA/device-stub.cu

index 5d050113156009a4f464c692027af4186b43b00d..7f5e159151cfbf61b2157ba8ff2e0a86208f3cdb 100644 (file)
@@ -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