[PATCH] MIR Serialization: Connect the machine function analysis pass to MIR parser.

Justin Bogner mail at justinbogner.com
Fri Jun 5 11:25:12 PDT 2015


Alex Lorenz <arphaman at gmail.com> writes:
> I rebased this patch on the reorganized initial MIR commit that landed
> in r238341.
>
> The patch now creates a new interface called
> 'MIRMachineFunctionInitializer' under CodeGen that is used by the
> MIRParser to connect to the machine function analysis pass without
> making CodeGen depend on MIRParser.

Do you mind rebasing this to ToT? It conflicts in MIRParser.cpp right
now, which makes it a bit trickier to review.

>
> REPOSITORY
>   rL LLVM
>
> http://reviews.llvm.org/D9928
>
> Files:
>   include/llvm/CodeGen/MIRMachineFunctionInitializer.h
>   include/llvm/CodeGen/MIRParser/MIRParser.h
>   include/llvm/CodeGen/MachineFunctionAnalysis.h
>   include/llvm/Target/TargetMachine.h
>   lib/CodeGen/LLVMTargetMachine.cpp
>   lib/CodeGen/MIRParser/MIRParser.cpp
>   lib/CodeGen/MachineFunctionAnalysis.cpp
>   lib/Target/CppBackend/CPPBackend.cpp
>   lib/Target/CppBackend/CPPTargetMachine.h
>   test/CodeGen/MIR/function-missing-machine-function.mir
>   test/CodeGen/MIR/llvmIR.mir
>   tools/llc/llc.cpp
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/



More information about the llvm-commits mailing list