mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
r70270 isn't ready yet. Back this out. Sorry for the noise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,8 +68,7 @@ unsigned SparcTargetMachine::getModuleMatchQuality(const Module &M) {
|
||||
#endif
|
||||
}
|
||||
|
||||
bool SparcTargetMachine::addInstSelector(PassManagerBase &PM,
|
||||
unsigned OptLevel) {
|
||||
bool SparcTargetMachine::addInstSelector(PassManagerBase &PM, bool Fast) {
|
||||
PM.add(createSparcISelDag(*this));
|
||||
return false;
|
||||
}
|
||||
@@ -77,17 +76,15 @@ bool SparcTargetMachine::addInstSelector(PassManagerBase &PM,
|
||||
/// addPreEmitPass - This pass may be implemented by targets that want to run
|
||||
/// passes immediately before machine code is emitted. This should return
|
||||
/// true if -print-machineinstrs should print out the code after the passes.
|
||||
bool SparcTargetMachine::addPreEmitPass(PassManagerBase &PM, unsigned OptLevel){
|
||||
bool SparcTargetMachine::addPreEmitPass(PassManagerBase &PM, bool Fast) {
|
||||
PM.add(createSparcFPMoverPass(*this));
|
||||
PM.add(createSparcDelaySlotFillerPass(*this));
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SparcTargetMachine::addAssemblyEmitter(PassManagerBase &PM,
|
||||
unsigned OptLevel,
|
||||
bool Verbose,
|
||||
raw_ostream &Out) {
|
||||
bool SparcTargetMachine::addAssemblyEmitter(PassManagerBase &PM, bool Fast,
|
||||
bool Verbose, raw_ostream &Out) {
|
||||
// Output assembly language.
|
||||
PM.add(createSparcCodePrinterPass(Out, *this, OptLevel, Verbose));
|
||||
PM.add(createSparcCodePrinterPass(Out, *this, Fast, Verbose));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user