summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCUDA
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2018-04-25 03:16:07 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2018-04-25 03:16:07 +0000
commit9222593fc22d72676e1f1f8b224464ffd326d607 (patch)
treef22bbea148a5d070b6d58bf510a260dc9adefe33 /test/CodeGenCUDA
parent45d663da5615045d3c2da1b97ef06319055deb42 (diff)
Fix lit test kernel-call.cu failure on ps4 due to dso_local
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCUDA')
-rw-r--r--test/CodeGenCUDA/kernel-call.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCUDA/kernel-call.cu b/test/CodeGenCUDA/kernel-call.cu
index 34a6d0c3d0..bc64599512 100644
--- a/test/CodeGenCUDA/kernel-call.cu
+++ b/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