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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Fri Nov 18 05:57:22 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaTargetMachine.cpp updated: 1.18 -> 1.19
---
Log message:

prevent latent switch creation

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

 AlphaTargetMachine.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.18 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.19
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.18	Sat Nov 12 19:45:23 2005
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp	Fri Nov 18 07:57:03 2005
@@ -79,7 +79,9 @@
   if (FileType != TargetMachine::AssemblyFile) return true;
 
   PM.add(createLoopStrengthReducePass());
+  PM.add(createCFGSimplificationPass());
 
+ 
   // FIXME: Implement efficient support for garbage collection intrinsics.
   PM.add(createLowerGCPass());
 
@@ -92,8 +94,6 @@
   // Make sure that no unreachable blocks are instruction selected.
   PM.add(createUnreachableBlockEliminationPass());
 
-  PM.add(createCFGSimplificationPass());
-
   if (EnableAlphaDAG)
     PM.add(createAlphaISelDag(*this));
   else






More information about the llvm-commits mailing list