mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Only print out machine instructions before modulo scheduling if we are actually doing modulo scheduling! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20292 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
90970609f2
commit
00aaadf9f0
@ -195,7 +195,7 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
|
||||
if (!DisableSched)
|
||||
PM.add(createInstructionSchedulingWithSSAPass(*this));
|
||||
|
||||
if(PrintMachineCode)
|
||||
if(PrintMachineCode && EnableModSched)
|
||||
PM.add(createMachineFunctionPrinterPass(&std::cerr, "Before modulo scheduling:\n"));
|
||||
|
||||
//Use ModuloScheduling if enabled, otherwise use local scheduling if not disabled.
|
||||
|
Loading…
Reference in New Issue
Block a user