diff options
author | Tanya Lattner <tonic@nondot.org> | 2005-02-24 02:14:44 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2005-02-24 02:14:44 +0000 |
commit | 00aaadf9f04b37abc0c5b2b4dfdef1130993a054 (patch) | |
tree | 986d22359ceea1ff1528f7ae4a4c1e84e3c24c66 | |
parent | 90970609f24bc3591e4f0010843d3fcb26547bbb (diff) |
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
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index c962328e0e..fc96891c06 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -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. |