]> granicus.if.org Git - llvm/commit
[WebAssembly] Expand SIMD shifts while V8's implementation disagrees
authorThomas Lively <tlively@google.com>
Tue, 15 Jan 2019 02:16:03 +0000 (02:16 +0000)
committerThomas Lively <tlively@google.com>
Tue, 15 Jan 2019 02:16:03 +0000 (02:16 +0000)
commit9fbbcd044115a667b40a889aa1aa2b22cac4a93d
tree4578039402d37551630fddeb28294e4ca662991d
parent68fa6767b40f89e38ae321490f5fecfde2ae13ca
[WebAssembly] Expand SIMD shifts while V8's implementation disagrees

Summary:
V8 currently implements SIMD shifts as taking an immediate operation,
which disagrees with the spec proposal and the toolchain
implementation. As a stopgap measure to get things working, unroll all
vector shifts. Since this is a temporary measure, there are no tests.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, dmgreen, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351151 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
test/CodeGen/WebAssembly/simd-arith.ll