[all-commits] [llvm/llvm-project] 602f31: [WebAssembly] Fix constness of pointer params to l...

Thomas Lively via All-commits all-commits at lists.llvm.org
Wed May 5 13:17:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 602f318cfdac999a8604f1588159326b1a1a1a23
      https://github.com/llvm/llvm-project/commit/602f318cfdac999a8604f1588159326b1a1a1a23
  Author: Thomas Lively <tlively at google.com>
  Date:   2021-05-05 (Wed, 05 May 2021)

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

  Log Message:
  -----------
  [WebAssembly] Fix constness of pointer params to load intrinsics

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

Differential Revision: https://reviews.llvm.org/D101884




More information about the All-commits mailing list