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

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 4 21:08:52 PST 2006



Changes in directory llvm/lib/Target/Sparc:

SparcISelDAGToDAG.cpp updated: 1.87 -> 1.88
---
Log message:

Copysign needs to be expanded everywhere.  Note that Alpha and IA64 should
implement copysign as a native op if they have it.


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

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


Index: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
diff -u llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.87 llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.88
--- llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.87	Thu Feb 16 23:43:56 2006
+++ llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp	Sat Mar  4 23:08:37 2006
@@ -191,6 +191,8 @@
   setOperationAction(ISD::ROTL , MVT::i32, Expand);
   setOperationAction(ISD::ROTR , MVT::i32, Expand);
   setOperationAction(ISD::BSWAP, MVT::i32, Expand);
+  setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
+  setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
 
   setOperationAction(ISD::SHL_PARTS, MVT::i32, Expand);
   setOperationAction(ISD::SRA_PARTS, MVT::i32, Expand);






More information about the llvm-commits mailing list