]> granicus.if.org Git - clang/commit
Merging r352221 and r352222:
authorHans Wennborg <hans@hanshq.net>
Mon, 28 Jan 2019 14:07:41 +0000 (14:07 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 28 Jan 2019 14:07:41 +0000 (14:07 +0000)
commit01d568731efe4ba94de3efaeca76cf2cc9b674ea
tree59af4feb8656346d00da13b417c90c6d07110df7
parent5950edc16a85d26636dae663066e4e569e55345b
Merging r352221 and r352222:

------------------------------------------------------------------------
r352221 | erichkeane | 2019-01-25 18:27:57 +0100 (Fri, 25 Jan 2019) | 12 lines

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
------------------------------------------------------------------------

------------------------------------------------------------------------
r352222 | erichkeane | 2019-01-25 18:39:57 +0100 (Fri, 25 Jan 2019) | 3 lines

Fix incorrect indent from r352221

Change-Id: I0a7b1443eb6912ef7bea1a4cf2f696fc01726557
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_80@352363 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]