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

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



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.94 -> 1.95
---
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:  (+3 -0)

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


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.94 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.95
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.94	Tue Feb 28 23:50:56 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Sat Mar  4 23:08:37 2006
@@ -70,6 +70,9 @@
     setOperationAction(ISD::FSQRT, MVT::f32, Expand);
   }
   
+  setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
+  setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
+  
   // PowerPC does not have BSWAP, CTPOP or CTTZ
   setOperationAction(ISD::BSWAP, MVT::i32  , Expand);
   setOperationAction(ISD::CTPOP, MVT::i32  , Expand);






More information about the llvm-commits mailing list