r330821 - Fix failure in lit test kernel-call.cu due to name mangling
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 25 06:07:58 PDT 2018
Author: yaxunl
Date: Wed Apr 25 06:07:58 2018
New Revision: 330821
URL: http://llvm.org/viewvc/llvm-project?rev=330821&view=rev
Log:
Fix failure in lit test kernel-call.cu due to name mangling
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=330821&r1=330820&r2=330821&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCUDA/kernel-call.cu (original)
+++ cfe/trunk/test/CodeGenCUDA/kernel-call.cu Wed Apr 25 06:07:58 2018
@@ -4,14 +4,14 @@
#include "Inputs/cuda.h"
-// CHECK-LABEL: define{{.*}} void @_Z2g1i
+// CHECK-LABEL: define{{.*}}g1
// 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{{.*}}main
int main(void) {
// HIP: call{{.*}}hipConfigureCall
// CUDA: call{{.*}}cudaConfigureCall
More information about the cfe-commits
mailing list