[PATCH] D52372: [WebAssembly] SIMD conversions

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 21 11:57:17 PDT 2018


tlively created this revision.
tlively added reviewers: aheejin, dschuff.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100.

Lowers (s|u)itofp and fpto(s|u)i instructions for vectors. The fp to
int conversions produce poison values if their arguments are out of
the convertible range, so a future CL will have to add an LLVM
intrinsic to make the saturating behavior of this conversion usable.


Repository:
  rL LLVM

https://reviews.llvm.org/D52372

Files:
  lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
  test/CodeGen/WebAssembly/simd-conversions.ll
  test/MC/WebAssembly/simd-encodings.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52372.166528.patch
Type: text/x-patch
Size: 6655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180921/e564d27d/attachment.bin>


More information about the llvm-commits mailing list