[PATCH] MIR Serialization: Serialize simple MachineRegisterInfo attributes.

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Jun 23 12:07:17 PDT 2015


> On 2015-Jun-22, at 15:25, Alex Lorenz <arphaman at gmail.com> wrote:
> 
> Hi dexonsmith, bob.wilson, bogner,
> 
> This patch serializes the 3 scalar bool attributes from the MachineRegisterInfo class. - isSSA, tracksRegLiveness, tracksSubRegLiveness. I decided to place them into the machine function YAML mapping as they fit rather well into the function's mapping.
> 
> REPOSITORY
>  rL LLVM
> 
> http://reviews.llvm.org/D10618
> 
> Files:
>  include/llvm/CodeGen/MIRYamlMapping.h
>  lib/CodeGen/MIRParser/MIRParser.cpp
>  lib/CodeGen/MIRPrinter.cpp
>  test/CodeGen/MIR/machine-function.mir
>  test/CodeGen/MIR/register-info.mir
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> <D10618.28166.patch>

LGTM.



More information about the llvm-commits mailing list