[PATCH] D66166: [WebAssembly] Stop unrolling SIMD shifts since they are fixed in V8
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 14:06:23 PDT 2019
tlively created this revision.
tlively added a reviewer: aheejin.
Herald added subscribers: llvm-commits, dmgreen, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D66166
Files:
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Index: llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
===================================================================
--- llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+++ llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
@@ -1449,11 +1449,6 @@
// 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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66166.214914.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190813/3bd6ba07/attachment.bin>
More information about the llvm-commits
mailing list