diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-06-18 19:14:15 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-06-18 19:14:15 +0000 |
commit | a3b5959ebaa403377920d327d29ed6dbc8a3128b (patch) | |
tree | 0add817e05bb52c2b298837a194330031b73f71c /test | |
parent | cb1cb5372159b3c93d648d25921d66f29be477bf (diff) | |
download | clang-a3b5959ebaa403377920d327d29ed6dbc8a3128b.tar.gz |
R600: Add Volcanic Islands targets
Reviewers: arsenm
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D10316
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Driver/r600-mcpu.cl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Driver/r600-mcpu.cl b/test/Driver/r600-mcpu.cl index 94a77346e8..4fbec0c83b 100644 --- a/test/Driver/r600-mcpu.cl +++ b/test/Driver/r600-mcpu.cl @@ -1,4 +1,4 @@ -// Check that -mcpu works for all supported GPUs +t// Check that -mcpu works for all supported GPUs // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=r600 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv630 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s @@ -35,6 +35,9 @@ // RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=kaveri %s -o - 2>&1 | FileCheck --check-prefix=KAVERI-CHECK %s // RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=hawaii %s -o - 2>&1 | FileCheck --check-prefix=HAWAII-CHECK %s // RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=mullins %s -o - 2>&1 | FileCheck --check-prefix=MULLINS-CHECK %s +// RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=tonga %s -o - 2>&1 | FileCheck --check-prefix=TONGA-CHECK %s +// RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=iceland %s -o - 2>&1 | FileCheck --check-prefix=ICELAND-CHECK %s +// RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=carrizo %s -o - 2>&1 | FileCheck --check-prefix=CARRIZO-CHECK %s // R600-CHECK: "-target-cpu" "r600" // RS880-CHECK: "-target-cpu" "rs880" @@ -60,3 +63,6 @@ // KAVERI-CHECK: "-target-cpu" "kaveri" // HAWAII-CHECK: "-target-cpu" "hawaii" // MULLINS-CHECK: "-target-cpu" "mullins" +// TONGA-CHECK: "-target-cpu" "tonga" +// ICELAND-CHECK: "-target-cpu" "iceland" +// CARRIZO-CHECK: "-target-cpu" "carrizo" |