[wasm-simd] Remove ScalarLoweringForTesting
Bug: v8:11613 Change-Id: Ib1ad2dc7bb7235b5f8ef5068a5d3175556d1a65b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2806547 Reviewed-by: Zhi An Ng <zhin@chromium.org> Commit-Queue: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/master@{#73841}
This commit is contained in:
parent
b49638c524
commit
aa13c15f19
@ -4533,13 +4533,6 @@ void WasmGraphBuilder::LowerInt64(CallOrigin origin) {
|
||||
LowerInt64(CreateMachineSignature(mcgraph()->zone(), sig_, origin));
|
||||
}
|
||||
|
||||
void WasmGraphBuilder::SimdScalarLoweringForTesting() {
|
||||
SimdScalarLowering(
|
||||
mcgraph(), gasm_->simplified(),
|
||||
CreateMachineSignature(mcgraph()->zone(), sig_, kCalledFromWasm))
|
||||
.LowerGraph();
|
||||
}
|
||||
|
||||
void WasmGraphBuilder::SetSourcePosition(Node* node,
|
||||
wasm::WasmCodePosition position) {
|
||||
DCHECK_NE(position, wasm::kNoCodePosition);
|
||||
|
@ -408,8 +408,6 @@ class WasmGraphBuilder {
|
||||
V8_EXPORT_PRIVATE void LowerInt64(Signature<MachineRepresentation>* sig);
|
||||
V8_EXPORT_PRIVATE void LowerInt64(CallOrigin origin);
|
||||
|
||||
V8_EXPORT_PRIVATE void SimdScalarLoweringForTesting();
|
||||
|
||||
void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
|
||||
|
||||
Node* S128Zero();
|
||||
|
@ -379,9 +379,6 @@ void TestBuildingGraphWithBuilder(compiler::WasmGraphBuilder* builder,
|
||||
result.error().message().c_str());
|
||||
}
|
||||
builder->LowerInt64(compiler::WasmGraphBuilder::kCalledFromWasm);
|
||||
if (!CpuFeatures::SupportsWasmSimd128()) {
|
||||
builder->SimdScalarLoweringForTesting();
|
||||
}
|
||||
}
|
||||
|
||||
void TestBuildingGraph(Zone* zone, compiler::JSGraph* jsgraph,
|
||||
|
Loading…
Reference in New Issue
Block a user