diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp index 0ca5769040c..ceb6f36aab3 100644 --- a/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp @@ -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;  | 

