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

Chris Lattner lattner at cs.uiuc.edu
Sun Dec 18 15:00:39 PST 2005



Changes in directory llvm/lib/Target/SparcV8:

SparcV8ISelDAGToDAG.cpp updated: 1.22 -> 1.23
---
Log message:

we have no memcpy


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

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


Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.22 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.23
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.22	Sun Dec 18 16:57:47 2005
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp	Sun Dec 18 17:00:27 2005
@@ -108,6 +108,7 @@
   setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand);
   setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand);
   
+  // Turn FP extload into load/fextend
   setOperationAction(ISD::EXTLOAD, MVT::f32, Expand);
   
   // Sparc has no select or setcc: expand to SELECT_CC.
@@ -130,6 +131,11 @@
   setOperationAction(ISD::SELECT_CC, MVT::f32, Custom);
   setOperationAction(ISD::SELECT_CC, MVT::f64, Custom);
   
+  // V8 has no intrinsics for these particular operations.
+  setOperationAction(ISD::MEMMOVE, MVT::Other, Expand);
+  setOperationAction(ISD::MEMSET, MVT::Other, Expand);
+  setOperationAction(ISD::MEMCPY, MVT::Other, Expand);
+  
   computeRegisterProperties();
 }
 






More information about the llvm-commits mailing list