[PATCH] Allow __fp16 as a function arg or return type for AArch64
Oliver Stannard
oliver.stannard at arm.com
Wed Aug 13 02:21:16 PDT 2014
This patch now makes half a valid IR type that can be emitted for AArch64. It can be passed to and returned from functions by value, and we use the normal IR instructions to convert between half and float, but we retain the C semantics of always promoting to float before performing any arithmetic operations on them.
http://reviews.llvm.org/D4456
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/TargetInfo.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaType.cpp
test/CodeGen/arm64-aapcs-arguments.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4456.12436.patch
Type: text/x-patch
Size: 14429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140813/13cf81ca/attachment.bin>
More information about the cfe-commits
mailing list