[PATCH] Machine Level IR Serialization: print and parse LLVM IR.

Alex Lorenz arphaman at gmail.com
Wed May 13 13:08:36 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/CodeGen/Serialization/MIRPrintingPass.cpp:28
@@ +27,3 @@
+/// an output stream.
+struct MachineLevelIRPrintingPass : public MachineFunctionPass {
+  static char ID;
----------------
reames wrote:
> Is there a MachineModulePass?  The use of the HaveToPrintModule flag feels very dirty.
There's no machine module pass, but I decided to use a module pass and to get rid of this flag.
This means I will have to add a new pass that prints out machine functions in later patches. It will have to run right after the module printing pass.

http://reviews.llvm.org/D9616

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list