[wasm-simd] Remove call descriptor lowering
Scalar lowering pass is removed, so if hardware does not support SIMD, compilation should fail. Bug: chromium:1202671,v8:11613 Change-Id: I4cafd244d066121dc716ea880529603d9013a05d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3179762 Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77022}
This commit is contained in:
parent
d90c9c1f65
commit
9936555492
@ -7938,7 +7938,8 @@ wasm::WasmCompilationResult ExecuteTurbofanWasmCompilation(
|
||||
}
|
||||
|
||||
if (ContainsSimd(func_body.sig) && !CpuFeatures::SupportsWasmSimd128()) {
|
||||
call_descriptor = GetI32WasmCallDescriptorForSimd(&zone, call_descriptor);
|
||||
// Fail compilation if hardware does not support SIMD.
|
||||
return wasm::WasmCompilationResult{};
|
||||
}
|
||||
|
||||
Pipeline::GenerateCodeForWasmFunction(&info, env, wire_bytes_storage, mcgraph,
|
||||
|
Loading…
Reference in New Issue
Block a user