[PATCH] D18138: Add -fnative-half-arguments-and-returns
Pirama Arumuga Nainar via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 13 20:12:24 PDT 2016
pirama created this revision.
pirama added reviewers: srhines, olista01.
pirama added a subscriber: cfe-commits.
r246764 handled __fp16 arguments and returns for AAPCS, but skipped this
handling for OpenCL. Simlar to OpenCL, RenderScript also handles __fp16
type natively.
This patch adds the -fnative-half-arguments-and-returns command line
flag to allow such languages to skip this coercion of __fp16.
http://reviews.llvm.org/D18138
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
lib/CodeGen/TargetInfo.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/arm-fp16-arguments.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18138.50564.patch
Type: text/x-patch
Size: 5299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160314/0983017f/attachment-0001.bin>
More information about the cfe-commits
mailing list