diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-07-18 01:49:05 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-07-18 01:49:05 +0000 |
commit | 6d3eda0e9080e7af3f4c1af221b70c2977d4e569 (patch) | |
tree | a5a836fa78a6dbf033ee54471a232f25b9de5471 /test/Driver/amdgpu-toolchain.c | |
parent | b491a8b0006f9f279fb16e025ac6e5d54b3be801 (diff) | |
download | clang-6d3eda0e9080e7af3f4c1af221b70c2977d4e569.tar.gz |
Driver: Add AMDGPU toolchain
Summary:
This is a minimal toolchain, which sets the integrated assembler as default,
and uses lld for linking.
Reviewers: arsenm, mcrosier
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D10700
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/amdgpu-toolchain.c')
-rw-r--r-- | test/Driver/amdgpu-toolchain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/amdgpu-toolchain.c b/test/Driver/amdgpu-toolchain.c new file mode 100644 index 0000000000..3f82ce5d2d --- /dev/null +++ b/test/Driver/amdgpu-toolchain.c @@ -0,0 +1,5 @@ +// RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s +// AS_LINK-LABEL: clang +// AS_LINK: "-cc1as" +// AS_LINK-LABEL: lld +// AS_LINK: "-flavor" "gnu" "-target" "amdgcn--amdhsa" |