On platforms which have no fp16 registers and instructions; It use lib-calls(gnu_f2h_ieee and gnu_h2f_ieee) to lower convert_from_fp16(llvm.convert.from.fp16) and convert_to_fp16(llvm.convert.to.fp16), but there are no implementations for these two lib-calls. This patch implements gnu_f2h_ieee and gnu_h2f_ieee for the compiler_rt library.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
With the generic conversion functions, this boils down to the pretty trivial rL237161. Closing.