Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/coreclr/jit/codegenwasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2790,6 +2790,13 @@ void CodeGen::genCallInstruction(GenTreeCall* call)
assert(seg.IsPassedInRegister());
WasmValueType wvt = WasmRegToType(seg.GetRegister());
assert(wvt < WasmValueType::Count);
if (wvt == WasmValueType::V128)
{
// Passing a 16-byte SIMD value by value through a call is not yet correctly
// implemented: the argument is materialized as an i32 (by-ref) while the call
// signature requires v128, producing an invalid module. Bail for now.
NYI_WASM_SIMD("SIMD16 call argument");
}
typeStack.Push((CorInfoWasmType)emitter::GetWasmValueTypeCode(wvt));
}
}
Expand Down
Loading