diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-05-13 15:44:37 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-05-13 15:44:37 +0000 |
commit | 1ae52775b1ad7cad31ddfbd2cd2a60a61afb888c (patch) | |
tree | f787a72c7b1ac3caab61293ebcb385c5e6c75af1 /test/Lexer | |
parent | 7948f6bcd9d329f8fc95625c6a5407c174e1c8e6 (diff) |
[OpenCL] Add supported OpenCL extensions to target info.
Add supported OpenCL extensions to target info. It serves as default values to save the users of the burden setting each supported extensions and optional core features in command line.
Differential Revision: http://reviews.llvm.org/D19484
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r-- | test/Lexer/opencl-half-literal.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/opencl-half-literal.cl b/test/Lexer/opencl-half-literal.cl index 2415ee4fd8..42ca5146b1 100644 --- a/test/Lexer/opencl-half-literal.cl +++ b/test/Lexer/opencl-half-literal.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -fsyntax-only -verify +// RUN: %clang_cc1 %s -fsyntax-only -verify -triple spir-unknown-unknown #pragma OPENCL EXTENSION cl_khr_fp16 : enable |