Emit Tag_ABI_FP_16bit_format build attribute.
authorCharlie Turner <charlie.turner@arm.com>
Fri, 12 Dec 2014 11:59:18 +0000 (11:59 +0000)
committerCharlie Turner <charlie.turner@arm.com>
Fri, 12 Dec 2014 11:59:18 +0000 (11:59 +0000)
commit1a53996c316761894fbc0e542fab178a14f7064c
treedefb0ade0acd14fb7d6c2f4db1f06f94406c87c8
parent5cb121d4380d61bfb10f0e2962a62b4c2c410179
Emit Tag_ABI_FP_16bit_format build attribute.

The __fp16 type is unconditionally exposed. Since -mfp16-format is not yet
supported, there is not a user switch to change this behaviour. This build
attribute should capture the default behaviour of the compiler, which is to
expose the IEEE 754 version of __fp16.

When -mfp16-format is emitted, that will be the way to control the value of
this build attribute.

Change-Id: I8a46641ff0fd2ef8ad0af5f482a6d1af2ac3f6b0
llvm-svn: 224115
llvm/include/llvm/Support/ARMBuildAttributes.h
llvm/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/test/CodeGen/ARM/build-attributes.ll