[PATCH] MIR Serialization: Initial serialization of constant pools and constant pool operands.
Alex L
arphaman at gmail.com
Fri Jul 17 10:18:19 PDT 2015
Hello,
This patch depends on the patch D10280 (AsmParser: Add a function to parse
a standalone type and value).
This patch implements initial serialization of the machine constant pool
and the constant pool
index machine operand. The constant pool is serialized by using a YAML
sequence of YAML
mappings that represent the constant values, e.g:
constants:
- id: 0
value: 'double 3.250000e+00'
alignment: 8
- id: 1
value: 'float 6.250000e+00'
alignment: 4
Target-specific constant pool values aren't serialized by this patch.
The constant pool index machine operands use the following syntax:
%const.<id>
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150717/01b28e35/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MIR-Serialization-Initial-serialization-of-constant-.patch
Type: application/octet-stream
Size: 17251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150717/01b28e35/attachment.obj>
More information about the llvm-commits
mailing list