<div dir="ltr">Hi,<div><br></div><div>This patch serializes the machine function's live ins. They are serialized using a sequence of YAML inline mappings, e.g:</div><div><br></div><div>liveins:</div><div>  - { reg: '%edi', virtual-reg: '%0' <span style="line-height:normal">}</span></div><div><span style="line-height:normal"><br></span></div><div>There's a slight problem with the printing right now, caused by the fact that the virtual registers in function's liveins aren't cleared when we clear the virtual register definitions. Thus, after post RA passes, MIR printer will print out MIR that won't be parsable (it will print out the virtual register reference but not the definition). I intend to send a follow up patch that modifies the clear method in MachineRegisterInfo so that virtual register references in liveins are cleared as well, and it should come after this one as I would like to test it using the live in printing functionality that's introduced in this patch.</div><div><br></div><div>Thanks,</div><div>Alex</div></div>