[PATCH] Serialize the floating point immediate machine operands.

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu Jul 30 11:40:42 PDT 2015


> On 2015-Jul-29, at 17:23, Alex L <arphaman at gmail.com> wrote:
> 
> Hi,
> 
> The 3 patches below serialize the floating point immediate machine operands
> of type half, float, and double.
> 
> The first patch serializes the non-hexadecimal float and double floating point
> operands. The second patch serializes the hexadecimal float and double
> floating point operands. The third patch serializes the half floating point
> operands.
> 
> The x86_fp80, fp128, and ppc_fp128 floating point operands aren't
> serialized by these patches.
> 

Do we know how to handle all the float types in IR?  If so, would it
be better to reuse `parseStandaloneConstantValue()` for all of these?

> Cheers,
> Alex
> <0001-MIR-Serialization-Initial-serialization-of-floating-.patch><0002-MIR-Serialization-Serialize-the-hexadecimal-floating.patch><0003-MIR-Serialization-Serialize-the-half-floating-point-.patch>





More information about the llvm-commits mailing list