r235215 enables support in LLVM for legalizing f16 type in the IR. AArch64
already had support for this. r235215 and some backend patches brought support
for ARM, X86, X86-64, Mips and Mips64.
This change exposes the LangOption 'NativeHalfType' in the command line, so the
backend legalization can be used if desired. NativeHalfType is enabled for
OpenCL (current behavior) or if '-fnative-half-type' is set.
I don't like "half": it should really be about "__fp16". But that's also a problem for -fallow-half-*, so I'm fine with it.
We can have a more explicit description though. How about "Use the native half type for __fp16 instead of promoting to float" ?