[PATCH] MIR Serialization: Print and parse simple machine function attributes and move the mir printing code out of the printing pass.

Alex Lorenz arphaman at gmail.com
Mon Jun 15 10:50:40 PDT 2015


Hi dexonsmith, bob.wilson, bogner,

This patch is based on the patch that connects MIRParser to the machine function analysis pass (http://reviews.llvm.org/D9928).

This patch prints and parses the simple, scalar attributes of the machine function. It also moves the mir printing code out of the mir printing pass and into a separate file to allow it to be moved into a separate machineIR library in the future.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10449

Files:
  include/llvm/CodeGen/MIRYamlMapping.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/MIRParser/MIRParser.cpp
  lib/CodeGen/MIRPrinter.cpp
  lib/CodeGen/MIRPrinter.h
  lib/CodeGen/MIRPrintingPass.cpp
  test/CodeGen/MIR/machine-function.mir

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10449.27687.patch
Type: text/x-patch
Size: 8485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150615/0cbf693f/attachment.bin>


More information about the llvm-commits mailing list