mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
Run the branch selection pass right before the asm printer.
Patch by Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -86,6 +86,8 @@ bool PowerPCTargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
PM.add(createMachineFunctionPrinterPass(&std::cerr));
|
||||
|
||||
PM.add(createPrologEpilogCodeInserter());
|
||||
// Must run branch selection immediately preceding the printer
|
||||
PM.add(createPPCBranchSelectionPass());
|
||||
PM.add(createPPCCodePrinterPass(Out, *this));
|
||||
PM.add(createMachineCodeDeleter());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user