[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp

Nate Begeman natebegeman at mac.com
Sat Apr 8 12:47:11 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCTargetMachine.cpp updated: 1.85 -> 1.86
---
Log message:

Disable switch lowering for targets based on the selection dag isel,
letting the code generator handle them directly.


---
Diffs of the changes:  (+0 -6)

 PPCTargetMachine.cpp |    6 ------
 1 files changed, 6 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.85 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.86
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.85	Wed Mar 22 23:43:15 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp	Sat Apr  8 14:46:55 2006
@@ -93,9 +93,6 @@
   // Clean up after other passes, e.g. merging critical edges.
   if (!Fast) PM.add(createCFGSimplificationPass());
 
-  // FIXME: Implement the switch instruction in the instruction selector!
-  PM.add(createLowerSwitchPass());
-
   // Make sure that no unreachable blocks are instruction selected.
   PM.add(createUnreachableBlockEliminationPass());
 
@@ -147,9 +144,6 @@
   // Clean up after other passes, e.g. merging critical edges.
   PM.add(createCFGSimplificationPass());
 
-  // FIXME: Implement the switch instruction in the instruction selector!
-  PM.add(createLowerSwitchPass());
-
   // Make sure that no unreachable blocks are instruction selected.
   PM.add(createUnreachableBlockEliminationPass());
 






More information about the llvm-commits mailing list