forked from OSchip/llvm-project
[WebAssembly] Lower SIMD shifts since they are fixed in V8
Reviewers: sbc100 Subscribers: dschuff, jgravelle-google, hiraditya, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D58800 llvm-svn: 355163
This commit is contained in:
parent
afde07ce97
commit
c4b674955c
|
@ -1291,11 +1291,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;
|
||||
|
|
Loading…
Reference in New Issue