[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
Tanya Brethour
tbrethou at cs.uiuc.edu
Thu Feb 10 09:02:23 PST 2005
Changes in directory llvm/lib/Target/SparcV9:
SparcV9TargetMachine.cpp updated: 1.132 -> 1.133
---
Log message:
Allow modsched and local scheduling to both be run.
---
Diffs of the changes: (+3 -4)
SparcV9TargetMachine.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.132 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.133
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.132 Thu Dec 16 17:16:16 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp Thu Feb 10 11:02:06 2005
@@ -192,16 +192,15 @@
PM.add(createSparcV9BurgInstSelector(*this));
+ if (!DisableSched)
+ PM.add(createInstructionSchedulingWithSSAPass(*this));
+
if(PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(&std::cerr, "Before modulo scheduling:\n"));
//Use ModuloScheduling if enabled, otherwise use local scheduling if not disabled.
if(EnableModSched)
PM.add(createModuloSchedulingPass(*this));
- else {
- if (!DisableSched)
- PM.add(createInstructionSchedulingWithSSAPass(*this));
- }
if (PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(&std::cerr, "Before reg alloc:\n"));
More information about the llvm-commits
mailing list