Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index d838e019581e85400700a8329cad5e7e41274ccf..40a7167e91940235dac9e608637a07f0fb8d194b 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -699,9 +699,7 @@ Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input) { |
op = m->RoundInt32ToFloat32(); |
break; |
case wasm::kExprF32UConvertI32: |
- op = m->ChangeUint32ToFloat64(); |
- input = graph()->NewNode(op, input); |
- op = m->TruncateFloat64ToFloat32(); |
+ op = m->RoundUint32ToFloat32(); |
break; |
case wasm::kExprI32SConvertF32: |
return BuildI32SConvertF32(input); |