[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp

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



Changes in directory llvm/lib/Target/IA64:

IA64ISelLowering.cpp updated: 1.34 -> 1.35
---
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:  (+4 -0)

 IA64ISelLowering.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.34 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.35
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.34	Mon Feb 13 03:00:43 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp	Sat Mar  4 23:08:37 2006
@@ -81,6 +81,10 @@
       setOperationAction(ISD::FCOS , MVT::f32, Expand);
       setOperationAction(ISD::FSQRT, MVT::f32, Expand);
 
+      // FIXME: IA64 supports fcopysign natively!
+      setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
+      setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
+      
       // We don't have line number support yet.
       setOperationAction(ISD::LOCATION, MVT::Other, Expand);
       setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);






More information about the llvm-commits mailing list