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 | 64936ce91dba4fe91655629ce1a25895f2af6f51 (patch) | |
tree | 193e74b8eb9cbefed8552d6d4ba102e062e737b0 /clang/test/Lexer | |
parent | 57cdcb07d69cddb702ca4a428eb5c6bdb2fa0a88 (diff) | |
download | bcm5719-llvm-64936ce91dba4fe91655629ce1a25895f2af6f51.tar.gz bcm5719-llvm-64936ce91dba4fe91655629ce1a25895f2af6f51.zip |
[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
llvm-svn: 269431
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r-- | clang/test/Lexer/opencl-half-literal.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/opencl-half-literal.cl b/clang/test/Lexer/opencl-half-literal.cl index 2415ee4fd8c..42ca5146b1f 100644 --- a/clang/test/Lexer/opencl-half-literal.cl +++ b/clang/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 |