A pass to remove the worst of the replay trap offenders, and as a bonus, align basic blocks when it is free to do so

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth
2006-09-18 19:44:29 +00:00
parent 011f184601
commit 2ab804c607
3 changed files with 146 additions and 0 deletions
+1
View File
@@ -77,6 +77,7 @@ bool AlphaTargetMachine::addPreEmitPass(FunctionPassManager &PM, bool Fast) {
}
bool AlphaTargetMachine::addAssemblyEmitter(FunctionPassManager &PM, bool Fast,
std::ostream &Out) {
PM.add(createAlphaLLRPPass(*this));
PM.add(createAlphaCodePrinterPass(Out, *this));
return false;
}