| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index eaa5b6fec6e2202b476c299589bb5a6863e24c94..45929b34dd846782097b260561047314ebde42df 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -3348,8 +3348,10 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction(
|
| r.LowerGraph();
|
| }
|
|
|
| - SimdScalarLowering(graph, machine, common, jsgraph_->zone(), function_->sig)
|
| - .LowerGraph();
|
| + if (!CpuFeatures::SupportsSimd128()) {
|
| + SimdScalarLowering(graph, machine, common, jsgraph_->zone(), function_->sig)
|
| + .LowerGraph();
|
| + }
|
|
|
| int index = static_cast<int>(function_->func_index);
|
|
|
|
|