[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 4 21:08:51 PST 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.38 -> 1.39
---
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)
AlphaISelLowering.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.38 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.39
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.38 Mon Feb 13 03:00:43 2006
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Sat Mar 4 23:08:37 2006
@@ -119,6 +119,10 @@
setOperationAction(ISD::FSQRT, MVT::f64, Expand);
setOperationAction(ISD::FSQRT, MVT::f32, Expand);
+
+ // FIXME: Alpha supports fcopysign natively!?
+ setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);
+ setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand);
setOperationAction(ISD::SETCC, MVT::f32, Promote);
More information about the llvm-commits
mailing list