[PATCH] Allow __fp16 as a function arg or return type for AArch64
Oliver Stannard
oliver.stannard at arm.com
Tue Jul 29 08:00:34 PDT 2014
The changing parameter type in your second example was due to clang caching the mapping between clang::Type and llvm::Type. This also hid a bug where HFAs would still be emitted using i16 unless there was a bare __fp16 parameter earlier in the file.
http://reviews.llvm.org/D4456
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/CodeGenTypes.h
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.11981.patch
Type: text/x-patch
Size: 20526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140729/f31bdc01/attachment.bin>
More information about the cfe-commits
mailing list