mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
move createAlphaLLRPPass out of addAssemblyEmitter to make Alpha
more like other targets. llvm-svn: 75839
This commit is contained in:
parent
83b99bb014
commit
52395de322
@ -61,13 +61,13 @@ bool AlphaTargetMachine::addPreEmitPass(PassManagerBase &PM,
|
||||
CodeGenOpt::Level OptLevel) {
|
||||
// Must run branch selection immediately preceding the asm printer
|
||||
PM.add(createAlphaBranchSelectionPass());
|
||||
PM.add(createAlphaLLRPPass(*this));
|
||||
return false;
|
||||
}
|
||||
bool AlphaTargetMachine::addAssemblyEmitter(PassManagerBase &PM,
|
||||
CodeGenOpt::Level OptLevel,
|
||||
bool Verbose,
|
||||
formatted_raw_ostream &Out) {
|
||||
PM.add(createAlphaLLRPPass(*this));
|
||||
// Output assembly language.
|
||||
assert(AsmPrinterCtor && "AsmPrinter was not linked in");
|
||||
if (AsmPrinterCtor)
|
||||
|
Loading…
Reference in New Issue
Block a user