mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 18:46:18 +00:00
Print llvm code one function at a time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18805 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f23586c7ef
commit
74be3a5794
@ -82,7 +82,7 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
|
||||
// Print LLVM code input to instruction selector:
|
||||
if (PrintMachineCode)
|
||||
PM.add(new PrintModulePass());
|
||||
PM.add(new PrintFunctionPass());
|
||||
|
||||
PM.add(createSparcV8SimpleInstructionSelector(*this));
|
||||
|
||||
|
@ -82,7 +82,7 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
|
||||
// Print LLVM code input to instruction selector:
|
||||
if (PrintMachineCode)
|
||||
PM.add(new PrintModulePass());
|
||||
PM.add(new PrintFunctionPass());
|
||||
|
||||
PM.add(createSparcV8SimpleInstructionSelector(*this));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user