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

Chris Lattner lattner at cs.uiuc.edu
Tue Mar 30 12:43:02 PST 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9TargetMachine.cpp updated: 1.106 -> 1.107

---
Log message:

Add the select lowering pass to get initial support for select instructions


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

Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.106 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.107
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.106	Fri Mar 12 15:19:08 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Tue Mar 30 12:41:57 2004
@@ -136,6 +136,8 @@
   // FIXME: implement the switch instruction in the instruction selector.
   PM.add(createLowerSwitchPass());
 
+  PM.add(createLowerSelectPass());
+
   // FIXME: implement the invoke/unwind instructions!
   PM.add(createLowerInvokePass());
   
@@ -210,6 +212,8 @@
 
   // FIXME: implement the switch instruction in the instruction selector.
   PM.add(createLowerSwitchPass());
+
+  PM.add(createLowerSelectPass());
 
   // FIXME: implement the invoke/unwind instructions!
   PM.add(createLowerInvokePass());





More information about the llvm-commits mailing list