mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
Add another machine-code printing pass when post-pass scheduling is run.
llvm-svn: 59746
This commit is contained in:
parent
0c43c5a17f
commit
3b3afa49f8
@ -226,9 +226,13 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, bool Fast) {
|
||||
PM.add(createMachineFunctionPrinterPass(cerr));
|
||||
|
||||
// Second pass scheduler.
|
||||
if (!Fast && !DisablePostRAScheduler)
|
||||
if (!Fast && !DisablePostRAScheduler) {
|
||||
PM.add(createPostRAScheduler());
|
||||
|
||||
if (PrintMachineCode)
|
||||
PM.add(createMachineFunctionPrinterPass(cerr));
|
||||
}
|
||||
|
||||
// Branch folding must be run after regalloc and prolog/epilog insertion.
|
||||
if (!Fast)
|
||||
PM.add(createBranchFoldingPass(getEnableTailMergeDefault()));
|
||||
|
Loading…
Reference in New Issue
Block a user