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

Alex L arphaman at gmail.com
Wed May 20 14:57:34 PDT 2015


I would like to resubmit the reverted commit now that I committed the
AsmParser change in r237833.

I've attached an updated patch and a smaller patch that shows the change
between the reverted commit and the
updated patch.

The updated patch adds a terminating null character to the LLVM IR sourced
that's passed from MIRParser
to LLParser.

Thanks,
Alex

2015-05-19 11:21 GMT-07:00 Alex Lorenz <arphaman at gmail.com>:

> REPOSITORY
>   rL LLVM
>
> http://reviews.llvm.org/D9616
>
> Files:
>   llvm/trunk/include/llvm/CodeGen/MIR/MIRParser.h
>   llvm/trunk/include/llvm/CodeGen/Passes.h
>   llvm/trunk/include/llvm/InitializePasses.h
>   llvm/trunk/include/llvm/Support/YAMLTraits.h
>   llvm/trunk/lib/CodeGen/CMakeLists.txt
>   llvm/trunk/lib/CodeGen/LLVMBuild.txt
>   llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
>   llvm/trunk/lib/CodeGen/MIR/CMakeLists.txt
>   llvm/trunk/lib/CodeGen/MIR/LLVMBuild.txt
>   llvm/trunk/lib/CodeGen/MIR/MIRParser.cpp
>   llvm/trunk/lib/CodeGen/MIR/MIRPrinter.cpp
>   llvm/trunk/lib/CodeGen/MIR/MIRPrinter.h
>   llvm/trunk/lib/CodeGen/MIR/MIRPrintingPass.cpp
>   llvm/trunk/lib/CodeGen/MIR/Makefile
>   llvm/trunk/lib/CodeGen/Makefile
>   llvm/trunk/lib/Support/YAMLTraits.cpp
>   llvm/trunk/test/CodeGen/Generic/stop-after.ll
>   llvm/trunk/test/CodeGen/MIR/lit.local.cfg
>   llvm/trunk/test/CodeGen/MIR/llvmIR.mir
>   llvm/trunk/test/CodeGen/MIR/llvmIRMissing.mir
>   llvm/trunk/tools/llc/llc.cpp
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150520/2868db81/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MIR.patch
Type: application/octet-stream
Size: 51684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150520/2868db81/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MIR_Revert_vs_Update.patch
Type: application/octet-stream
Size: 3411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150520/2868db81/attachment-0001.obj>


More information about the llvm-commits mailing list