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

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 5 14:17:00 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

Sparc.cpp updated: 1.83 -> 1.84

---
Log message:

Add support for the Invoke instruction by using the LowerInvoke pass


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/Sparc.cpp
diff -u llvm/lib/Target/Sparc/Sparc.cpp:1.83 llvm/lib/Target/Sparc/Sparc.cpp:1.84
--- llvm/lib/Target/Sparc/Sparc.cpp:1.83	Tue Sep 30 17:24:00 2003
+++ llvm/lib/Target/Sparc/Sparc.cpp	Sun Oct  5 14:16:09 2003
@@ -158,6 +158,9 @@
 
   // FIXME: implement the switch instruction in the instruction selector.
   PM.add(createLowerSwitchPass());
+
+  // FIXME: implement the invoke/unwind instructions!
+  PM.add(createLowerInvokePass());
   
   // decompose multi-dimensional array references into single-dim refs
   PM.add(createDecomposeMultiDimRefsPass());
@@ -233,6 +236,9 @@
 
   // FIXME: implement the switch instruction in the instruction selector.
   PM.add(createLowerSwitchPass());
+
+  // FIXME: implement the invoke/unwind instructions!
+  PM.add(createLowerInvokePass());
 
   // decompose multi-dimensional array references into single-dim refs
   PM.add(createDecomposeMultiDimRefsPass());





More information about the llvm-commits mailing list