]> granicus.if.org Git - clang/commitdiff
Fix lit test kernel-call.cu failure on ps4 due to dso_local
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 25 Apr 2018 03:16:07 +0000 (03:16 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 25 Apr 2018 03:16:07 +0000 (03:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330795 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCUDA/kernel-call.cu

index 34a6d0c3d0f7cdf540d124be5d7d23334829bc92..bc645995127579fc25c368a75921060741fc0c8a 100644 (file)
@@ -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