]> granicus.if.org Git - clang/commit
[AArch64] Define the macro __ARM_FP16_ARGS
authorKeith Walker <kwalker@arm.com>
Mon, 24 Aug 2015 10:11:14 +0000 (10:11 +0000)
committerKeith Walker <kwalker@arm.com>
Mon, 24 Aug 2015 10:11:14 +0000 (10:11 +0000)
commit7bfa6b3f699a1e2810ae75c7f0c5485d71eaf324
tree6143ac2b0d737c31076aa07965b1d7aabfb576e3
parentcbaa17c6bc57b56a6fd3376ee41542823d634bc8
[AArch64] Define the macro __ARM_FP16_ARGS

The ACLE (ARM C Language Extensions) 2.0 defines that the predefined macro
__ARM_FP16_ARGS should be defined if __fp16 can be used as an argument and
result.

The support for __fp16 to be used as an argument and result is already
implemented for AArch64 so this change is just adding the missing macro.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245833 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Preprocessor/aarch64-target-features.c