[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Thu Mar 3 11:03:37 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaTargetMachine.cpp updated: 1.5 -> 1.6
---
Log message:

LSR cleanup patch

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

 AlphaTargetMachine.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.5 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.6
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.5	Wed Mar  2 11:21:38 2005
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp	Thu Mar  3 13:03:21 2005
@@ -60,8 +60,10 @@
 bool AlphaTargetMachine::addPassesToEmitAssembly(PassManager &PM,
                                                    std::ostream &Out) {
   
-  if (EnableAlphaLSR)
+  if (EnableAlphaLSR) {
     PM.add(createLoopStrengthReducePass());
+    PM.add(createCFGSimplificationPass());
+  }
 
   // FIXME: Implement efficient support for garbage collection intrinsics.
   PM.add(createLowerGCPass());






More information about the llvm-commits mailing list