]> granicus.if.org Git - clang/commit
[OpenCL] Add supported OpenCL extensions to target info.
authorYaxun Liu <Yaxun.Liu@amd.com>
Mon, 16 May 2016 17:06:34 +0000 (17:06 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Mon, 16 May 2016 17:06:34 +0000 (17:06 +0000)
commit1c20b818530c1472db7f5ba6c30e896b53683122
tree6b9ac84156db8e37938f08b2e0c53acfdcb98ba1
parent8d336bed8b99e6b631de4387c1f5a42739d5482c
[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.

Re-commit after fixing build error due to missing override attribute.

Differential Revision: http://reviews.llvm.org/D19484

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269670 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/LangOptions.h
include/clang/Basic/OpenCLExtensions.def
include/clang/Basic/OpenCLOptions.h [new file with mode: 0644]
include/clang/Basic/TargetInfo.h
include/clang/Basic/TargetOptions.h
lib/Basic/Targets.cpp
lib/Frontend/InitPreprocessor.cpp
lib/Parse/ParsePragma.cpp
lib/Sema/Sema.cpp
test/CodeGenOpenCL/builtins-r600.cl
test/CodeGenOpenCL/fpmath.cl
test/CodeGenOpenCL/half.cl
test/Lexer/opencl-half-literal.cl
test/Misc/languageOptsOpenCL.cl
test/PCH/opencl-extensions.cl
test/Parser/opencl-astype.cl
test/Parser/opencl-atomics-cl20.cl
test/Parser/opencl-pragma.cl
test/Parser/opencl-storage-class.cl
test/SemaOpenCL/extension-fp64-cl1.1.cl [deleted file]
test/SemaOpenCL/extension-fp64.cl [deleted file]
test/SemaOpenCL/extensions.cl [new file with mode: 0644]
test/SemaOpenCL/half.cl
test/SemaOpenCL/invalid-kernel-parameters.cl
test/SemaOpenCL/invalid-logical-ops-1.2.cl
test/SemaOpenCL/optional-core-fp64-cl1.2.cl [deleted file]
test/SemaOpenCL/optional-core-fp64-cl2.0.cl [deleted file]