[cfe-dev] Clang CC1 option "-fnative-half-type"

Pirama Arumuga Nainar pirama at google.com
Wed May 6 14:56:10 PDT 2015


In r235215, I added support for legalizing f16 type in the IR by promoting
operations on f16 to f32 and using f16 <-> f32 conversions on load/store.
With some backend patches, this promotion works successfully on ARM,
AArch64, X86, X86-64, Mips and Mips64.

Is it reasonable to expose the NativeHalfType LangOption in the command
line?  Clang already exposes HalfArgsAndReturns langopt as
'-fallow_half_arguments_and_returns '.

Please advice.
-Pirama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150506/e489f614/attachment.html>


More information about the cfe-dev mailing list