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

Tanya Brethour tbrethou at cs.uiuc.edu
Thu Dec 16 15:13:33 PST 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.130 -> 1.131
---
Log message:

Removing commented out lines.


---
Diffs of the changes:  (+3 -8)

Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.130 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.131
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.130	Thu Dec 16 17:07:36 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Thu Dec 16 17:13:16 2004
@@ -178,10 +178,8 @@
   PM.add(createPreSelectionPass(*this));
   PM.add(createLowerSelectPass());
 
-  // Run basic LLVM dataflow optimizations, to clean up after pre-selection.
-  //PM.add(createReassociatePass());
-  //PM.add(createLICMPass());
-  //PM.add(createGCSEPass());
+  // Clean up after pre-selection.
+  PM.add(createReassociatePass());
 
   // If the user's trying to read the generated code, they'll need to see the
   // transformed input.
@@ -269,11 +267,8 @@
   PM.add(createPreSelectionPass(TM));
   PM.add(createLowerSelectPass());
 
-  // Run basic LLVM dataflow optimizations, to clean up after pre-selection.
+  // Clean up after pre-selection.
   PM.add(createReassociatePass());
-  // FIXME: these passes crash the FunctionPassManager when being added...
-  //PM.add(createLICMPass());
-  //PM.add(createGCSEPass());
 
   // If the user's trying to read the generated code, they'll need to see the
   // transformed input.






More information about the llvm-commits mailing list