[llvm-commits] [llvm] r75839 - /llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp
Chris Lattner
sabre at nondot.org
Wed Jul 15 14:40:24 PDT 2009
Author: lattner
Date: Wed Jul 15 16:40:24 2009
New Revision: 75839
URL: http://llvm.org/viewvc/llvm-project?rev=75839&view=rev
Log:
move createAlphaLLRPPass out of addAssemblyEmitter to make Alpha
more like other targets.
Modified:
llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp
Modified: llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp?rev=75839&r1=75838&r2=75839&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaTargetMachine.cpp Wed Jul 15 16:40:24 2009
@@ -61,13 +61,13 @@
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)
More information about the llvm-commits
mailing list