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

Evan Cheng evan.cheng at apple.com
Mon Oct 30 00:03:02 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.214 -> 1.215
---
Log message:

All targets expand BR_JT for now.

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

 PPCISelLowering.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.214 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.215
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.214	Tue Oct 17 20:20:43 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Mon Oct 30 02:02:39 2006
@@ -107,6 +107,8 @@
   
   // PowerPC does not have BRCOND which requires SetCC
   setOperationAction(ISD::BRCOND, MVT::Other, Expand);
+
+  setOperationAction(ISD::BR_JT,  MVT::Other, Expand);
   
   // PowerPC turns FP_TO_SINT into FCTIWZ and some load/stores.
   setOperationAction(ISD::FP_TO_SINT, MVT::i32, Custom);






More information about the llvm-commits mailing list