[all-commits] [llvm/llvm-project] 64a995: [WebAssembly] Make shift values unsigned in wasm_s...
Thomas Lively via All-commits
all-commits at lists.llvm.org
Fri Aug 20 09:10:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64a9957bf7b65a0d10819918ac2a565d69e9c4bb
https://github.com/llvm/llvm-project/commit/64a9957bf7b65a0d10819918ac2a565d69e9c4bb
Author: Thomas Lively <tlively at google.com>
Date: 2021-08-20 (Fri, 20 Aug 2021)
Changed paths:
M clang/lib/Headers/wasm_simd128.h
M clang/test/Headers/wasm.c
Log Message:
-----------
[WebAssembly] Make shift values unsigned in wasm_simd128.h
On some platforms, negative shift values mean to shift in the opposite
direction, but this is not true with WebAssembly. To avoid confusion, make the
shift values in the shift intrinsics unsigned.
Differential Revision: https://reviews.llvm.org/D108415
More information about the All-commits
mailing list