Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.220 -> 1.221
---
Log message:

PPC supports i32 / i64 pre-inc load / store.

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

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


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.220 
llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.221
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.220   Thu Nov  9 11:55:04 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Thu Nov  9 13:11:50 2006
@@ -50,6 +50,12 @@
   // PowerPC does not have truncstore for i1.
   setStoreXAction(MVT::i1, Promote);
 
+  // PowerPC has i32 and i64 pre-inc load and store's.
+  setIndexedLoadAction(ISD::PRE_INC, MVT::i32, Legal);
+  setIndexedLoadAction(ISD::PRE_INC, MVT::i64, Legal);
+  setIndexedStoreAction(ISD::PRE_INC, MVT::i32, Legal);
+  setIndexedStoreAction(ISD::PRE_INC, MVT::i64, Legal);
+
   setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
   setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to