[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp

Tanya Brethour tbrethou at cs.uiuc.edu
Wed Feb 23 18:14:55 PST 2005



Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.133 -> 1.134
---
Log message:

Only print out machine instructions before modulo scheduling if we are actually doing modulo scheduling! :)


---
Diffs of the changes:  (+1 -1)

 SparcV9TargetMachine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.133 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.134
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.133	Thu Feb 10 11:02:06 2005
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Wed Feb 23 20:14:44 2005
@@ -195,7 +195,7 @@
   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.






More information about the llvm-commits mailing list