summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-05 05:08:37 +0000
committerChris Lattner <sabre@nondot.org>2006-03-05 05:08:37 +0000
commit9601a86a644fa036168ff173d3539550b2e9206e (patch)
treed4eed93794fda145fffdd5e0446f4dc28fb3ce6b /lib/Target/Alpha/AlphaISelLowering.cpp
parent38bf3bffe3abfd00169d6dcf4fad7e2197808dbf (diff)
downloadllvm-9601a86a644fa036168ff173d3539550b2e9206e.tar.gz
llvm-9601a86a644fa036168ff173d3539550b2e9206e.tar.bz2
llvm-9601a86a644fa036168ff173d3539550b2e9206e.tar.xz
Copysign needs to be expanded everywhere. Note that Alpha and IA64 should
implement copysign as a native op if they have it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index 04c4255daf..6eaf88f36d 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -119,6 +119,10 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
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);