r330795 - Fix lit test kernel-call.cu failure on ps4 due to dso_local

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 24 20:16:07 PDT 2018


Author: yaxunl
Date: Tue Apr 24 20:16:07 2018
New Revision: 330795

URL: http://llvm.org/viewvc/llvm-project?rev=330795&view=rev
Log:
Fix lit test kernel-call.cu failure on ps4 due to dso_local

Modified:
    cfe/trunk/test/CodeGenCUDA/kernel-call.cu

Modified: cfe/trunk/test/CodeGenCUDA/kernel-call.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCUDA/kernel-call.cu?rev=330795&r1=330794&r2=330795&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCUDA/kernel-call.cu (original)
+++ cfe/trunk/test/CodeGenCUDA/kernel-call.cu Tue Apr 24 20:16:07 2018
@@ -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




More information about the cfe-commits mailing list