[PATCH] D61287: [WebAssembly] Support f16 libcalls

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 17:01:52 PDT 2019


sunfish created this revision.
sunfish added reviewers: sbc100, dschuff, aheejin.
Herald added a subscriber: jgravelle-google.
Herald added a project: LLVM.

Add support for f16 libcalls in WebAssembly. This entails adding signatures for the remaining F16 <https://reviews.llvm.org/F16> libcalls, and renaming __gnu_f2h_ieee/__gnu_h2f_ieee to __truncsfhf2/__extendhfsf2 for consistency between f32 and f64/f128 (compiler-rt already supports this).


Repository:
  rL LLVM

https://reviews.llvm.org/D61287

Files:
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
  test/CodeGen/WebAssembly/f16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61287.197201.patch
Type: text/x-patch
Size: 5697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190430/b640b51f/attachment.bin>


More information about the llvm-commits mailing list