[PATCH] D101884: [WebAssembly] Fix constness of pointer params to load intrinsics

Thomas Lively via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 4 22:22:11 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.

Update the SIMD builtin load functions to take pointers to const data and update
the intrinsics themselves to not cast away constness.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101884

Files:
  clang/include/clang/Basic/BuiltinsWebAssembly.def
  clang/lib/Headers/wasm_simd128.h
  clang/test/CodeGen/builtins-wasm.c
  clang/test/Headers/wasm.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101884.342951.patch
Type: text/x-patch
Size: 6843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210505/a4e478b0/attachment.bin>


More information about the cfe-commits mailing list