]> granicus.if.org Git - clang/commit
Disable _Float16 for non ARM/SPIR Targets
authorErich Keane <erich.keane@intel.com>
Fri, 25 Jan 2019 17:27:57 +0000 (17:27 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 25 Jan 2019 17:27:57 +0000 (17:27 +0000)
commitc92e6f5affe17d94518ab62668d87ef7ee98575c
tree43d3984a259924f69d66d72eb5fbbdbeccaeae5b
parentf87ccb46d7c3ef0017ad5b40f3de96b717dce6b3
Disable _Float16 for non ARM/SPIR Targets

As Discussed here:
http://lists.llvm.org/pipermail/llvm-dev/2019-January/129543.html

There are problems exposing the _Float16 type on architectures that
haven't defined the ABI/ISel for the type yet, so we're temporarily
disabling the type and making it opt-in.

Differential Revision: https://reviews.llvm.org/D57188

Change-Id: I5db7366dedf1deb9485adb8948b1deb7e612a736

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352221 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
docs/LanguageExtensions.rst
include/clang/Basic/TargetInfo.h
lib/Basic/TargetInfo.cpp
lib/Basic/Targets/AArch64.cpp
lib/Basic/Targets/ARM.cpp
lib/Basic/Targets/SPIR.h
lib/Sema/SemaType.cpp
test/AST/float16.cpp
test/CodeGenCXX/float16-declarations.cpp
test/CodeGenCXX/mangle-ms.cpp
test/Lexer/half-literal.cpp
test/Sema/Float16.c [new file with mode: 0644]