mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-08 05:26:50 +00:00
llc: Print+Verify machine function after loading it
In -run-pass mode verify/print machine function immediately after loading the .mir file if -verify-machineinstr/-print-machineinstrs option is specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07636808ac
commit
0f8d2d6396
@ -378,6 +378,7 @@ static int compileModule(char **argv, LLVMContext &Context) {
|
||||
PM.add(TPC);
|
||||
LLVMTM.addMachineModuleInfo(PM);
|
||||
LLVMTM.addMachineFunctionAnalysis(PM, MIR.get());
|
||||
TPC->printAndVerify("");
|
||||
|
||||
Pass *P;
|
||||
if (PI->getTargetMachineCtor())
|
||||
|
Loading…
x
Reference in New Issue
Block a user