diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-04-25 13:07:58 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-04-25 13:07:58 +0000 |
commit | 3782b78481ce9702c082cf21154719993b435c74 (patch) | |
tree | e3ca91660ff46c24f61a10003647f1229501c090 /test/CodeGenCUDA | |
parent | 5de6a38d77cc953f05d8e4f6ef22aa6ec7d9ac52 (diff) |
Fix failure in lit test kernel-call.cu due to name mangling
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCUDA')
-rw-r--r-- | test/CodeGenCUDA/kernel-call.cu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCUDA/kernel-call.cu b/test/CodeGenCUDA/kernel-call.cu index bc64599512..43d08dfaf8 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{{.*}}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 |