]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330821 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCUDA/kernel-call.cu

index bc645995127579fc25c368a75921060741fc0c8a..43d08dfaf89b1c9d6058b22abe7503346bfa34ac 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