mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 00:43:48 +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…
x
Reference in New Issue
Block a user