HomePhabricator

[WebAssembly] Support single-floating-point immediate value

Authored by sunfish on Feb 4 2021, 6:01 PM.

Description

[WebAssembly] Support single-floating-point immediate value

As mentioned in TODO comment, casting double to float causes NaNs to change bits.
To avoid the change, this patch adds support for single-floating-point immediate value on MachineCode.

Patch by Yuta Saito.

Differential Revision: https://reviews.llvm.org/D77384

Details

Committed
sunfishFeb 4 2021, 6:05 PM
Differential Revision
D77384: [WebAssembly] Support single-floating-point immediate value
Parents
rG4cb7d034816c: Add missing test update from 3e5ce49
Branches
Unknown
Tags
Unknown