diff options
author | Thomas Lively <tlively@google.com> | 2019-08-14 16:24:37 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-08-14 16:24:37 +0000 |
commit | de0133eaa2c53cf2d465578f234bd137ab3d68cb (patch) | |
tree | 47b52e125730e40af5fd4161390db57de207ff67 /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | |
parent | 2b1d42541f20ce919c7841328934f64366e39d7c (diff) | |
download | bcm5719-llvm-de0133eaa2c53cf2d465578f234bd137ab3d68cb.tar.gz bcm5719-llvm-de0133eaa2c53cf2d465578f234bd137ab3d68cb.zip |
[WebAssembly] Stop unrolling SIMD shifts since they are fixed in V8
Summary:
Fixes PR42973. Tests don't change because simd-arith.ll tests behavior
on unimplemented-simd128, which does not include any temporary
workarounds such as the one removed in this revision.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, dmgreen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66166
llvm-svn: 368868
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index 1563aeb16a1..3cbc109020f 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp @@ -1449,11 +1449,6 @@ SDValue WebAssemblyTargetLowering::LowerShift(SDValue Op, // Only manually lower vector shifts assert(Op.getSimpleValueType().isVector()); - // Expand all vector shifts until V8 fixes its implementation - // TODO: remove this once V8 is fixed - if (!Subtarget->hasUnimplementedSIMD128()) - return unrollVectorShift(Op, DAG); - // Unroll non-splat vector shifts BuildVectorSDNode *ShiftVec; SDValue SplatVal; |