[LLVMdev] Clang CC1 option "-fnative-half-type"

Pirama Arumuga Nainar pirama at google.com
Thu May 7 16:26:59 PDT 2015


(send to right alias)

On Thu, May 7, 2015 at 4:24 PM, Pirama Arumuga Nainar <pirama at google.com>
wrote:

> +llvm-dev hoping for a wider audience
>
> On Wed, May 6, 2015 at 2:56 PM, Pirama Arumuga Nainar <pirama at google.com>
> wrote:
>
>> 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/llvm-dev/attachments/20150507/91c5d1b2/attachment.html>


More information about the llvm-dev mailing list