[PATCH] D101883: [WebAssembly] Update SIMD builtin function operand types

Thomas Lively via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 4 21:09:53 PDT 2021


tlively created this revision.
tlively added a reviewer: aheejin.
Herald added subscribers: wingo, ecnelises, sunfish, jgravelle-google, sbc100, dschuff.
tlively requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

- Add `const` to the pointer operands of load builtins.
- Make the inputs to all narrowing builtins signed, which is how they are interpreted by the underlying instructions (only the result changes sign between instructions).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101883

Files:
  clang/include/clang/Basic/BuiltinsWebAssembly.def
  clang/test/CodeGen/builtins-wasm.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101883.342937.patch
Type: text/x-patch
Size: 4821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210505/ad2c7a9c/attachment-0001.bin>


More information about the cfe-commits mailing list