[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

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



Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.101 -> 1.102
---
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)

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


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.101 llvm/lib/Target/X86/X86ISelLowering.cpp:1.102
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.101	Fri Mar  3 20:48:56 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp	Sat Mar  4 23:08:37 2006
@@ -181,6 +181,9 @@
   setOperationAction(ISD::STACKRESTORE,       MVT::Other, Expand);
   setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32  , Expand);
 
+  setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
+  setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
+
   if (X86ScalarSSE) {
     // Set up the FP register classes.
     addRegisterClass(MVT::f32, X86::FR32RegisterClass);






More information about the llvm-commits mailing list