Fix failure in lit test kernel-call.cu due to name mangling
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 25 Apr 2018 13:07:58 +0000 (13:07 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 25 Apr 2018 13:07:58 +0000 (13:07 +0000)
llvm-svn: 330821

clang/test/CodeGenCUDA/kernel-call.cu

index bc64599..43d08df 100644 (file)
@@ -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