diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-03-29 14:50:00 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-03-29 14:50:00 +0000 |
commit | 8a1c33e1b7dbdf4162ae4c8aea1145c5d5cbd129 (patch) | |
tree | 0c403b056ba640ba181cb550a1950d640b61727c /test/CodeGenCUDA | |
parent | 071dcce6709118ddc503513c426896996c2059c6 (diff) |
Disable emitting static extern C aliases for amdgcn target for CUDA
Patch by Greg Rodgers.
Revised and lit test added by Yaxun Liu.
Differential Revision: https://reviews.llvm.org/D44987
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCUDA')
-rw-r--r-- | test/CodeGenCUDA/alias.cu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenCUDA/alias.cu b/test/CodeGenCUDA/alias.cu index 6efff6b92a..56e595ed36 100644 --- a/test/CodeGenCUDA/alias.cu +++ b/test/CodeGenCUDA/alias.cu @@ -1,8 +1,11 @@ // REQUIRES: x86-registered-target // REQUIRES: nvptx-registered-target +// REQUIRES: amdgpu-registered-target // RUN: %clang_cc1 -fcuda-is-device -triple nvptx-nvidia-cuda -emit-llvm \ // RUN: -o - %s | FileCheck %s +// RUN: %clang_cc1 -fcuda-is-device -triple amdgcn -emit-llvm \ +// RUN: -o - %s | FileCheck %s #include "Inputs/cuda.h" |