mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Added option -align-loops=<true/false> to disable loop aligner pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -164,13 +164,6 @@ bool X86TargetMachine::addPostRegAlloc(FunctionPassManager &PM, bool Fast) {
|
||||
return true; // -print-machineinstr should print after this.
|
||||
}
|
||||
|
||||
bool X86TargetMachine::addPreEmitPass(FunctionPassManager &PM, bool Fast) {
|
||||
if (Fast) return false;
|
||||
|
||||
PM.add(createLoopAlignerPass());
|
||||
return true;
|
||||
}
|
||||
|
||||
bool X86TargetMachine::addAssemblyEmitter(FunctionPassManager &PM, bool Fast,
|
||||
std::ostream &Out) {
|
||||
PM.add(createX86CodePrinterPass(Out, *this));
|
||||
|
Reference in New Issue
Block a user