summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2019-04-30 19:06:15 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2019-04-30 19:06:15 +0000
commit3a337f1126e331163a3f787dbb95be40007a96a7 (patch)
treea073eafd5daf41627f312c8d44aacac58b38dbd7
parent63e574d77118038bbb1364585dc3a681660bc252 (diff)
Add requires amdgpu-registered-target for amdgpu-float16.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359598 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenCXX/amdgpu-float16.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenCXX/amdgpu-float16.cpp b/test/CodeGenCXX/amdgpu-float16.cpp
index 8119466f57..cbd1e1dee6 100644
--- a/test/CodeGenCXX/amdgpu-float16.cpp
+++ b/test/CodeGenCXX/amdgpu-float16.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: amdgpu-registered-target
// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx701 -S -o - %s | FileCheck %s -check-prefix=NOF16
// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx803 -S -o - %s | FileCheck %s
// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx900 -S -o - %s | FileCheck %s