diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-15 21:40:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-15 21:40:24 +0000 |
commit | 7add5ff1d1257f6f09e66be42d459610f4693d68 (patch) | |
tree | 8dc8aec10daebf7a71b21577f9e93ec4208dbc2f /lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | a499effd3b5ccdcbfd472f1f3c8a06f00056303d (diff) |
move createAlphaLLRPPass out of addAssemblyEmitter to make Alpha
more like other targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp index a7a8162c12..a2f4f68784 100644 --- a/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -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) |