[PATCH] MIR Serialization: MIR Serialization: Serialize the fixed stack objects.

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Jul 10 19:34:12 PDT 2015


> On 2015-Jul-10, at 17:28, Alex L <arphaman at gmail.com> wrote:
> 
> Hello,
> 
> This patch serializes the fixed stack objects, including fixed spill slots.
> 
> The fixed stack objects are serialized using a YAML sequence of YAML inline mappings.
> Each mapping has the object's ID, type, size, offset, and alignment.
> The objects that aren't spill slots also serialize the isImmutable and isAliased flags. Example:
> 
> fixedStack:
>   - { id: 0, offset: 0, size: 4, alignment: 4, isImmutable: true, isAliased: false }
> 
> The fixed stack objects are a part of the machine function's YAML mapping.
> 
> Cheers,
> Alex
> <0001-MIR-Serialization-Serialize-the-fixed-stack-objects.patch>

LGTM.



More information about the llvm-commits mailing list