From 997e64f8a6d36045bbeef6e93d5baa49c6e2977d Mon Sep 17 00:00:00 2001 From: Yaxun Liu Date: Wed, 25 Apr 2018 03:16:07 +0000 Subject: [PATCH] Fix lit test kernel-call.cu failure on ps4 due to dso_local llvm-svn: 330795 --- clang/test/CodeGenCUDA/kernel-call.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGenCUDA/kernel-call.cu b/clang/test/CodeGenCUDA/kernel-call.cu index 34a6d0c3d0f7..bc6459951275 100644 --- a/clang/test/CodeGenCUDA/kernel-call.cu +++ b/clang/test/CodeGenCUDA/kernel-call.cu @@ -4,14 +4,14 @@ #include "Inputs/cuda.h" -// CHECK-LABEL: define void @_Z2g1i +// CHECK-LABEL: define{{.*}} void @_Z2g1i // HIP: call{{.*}}hipSetupArgument // HIP: call{{.*}}hipLaunchByPtr // CUDA: call{{.*}}cudaSetupArgument // CUDA: call{{.*}}cudaLaunch __global__ void g1(int x) {} -// CHECK-LABEL: define i32 @main +// CHECK-LABEL: define{{.*}} i32 @main int main(void) { // HIP: call{{.*}}hipConfigureCall // CUDA: call{{.*}}cudaConfigureCall