aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/IA64/IA64ISelLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-10-11 23:21:31 +0000
committerDan Gohman <djg@cray.com>2007-10-11 23:21:31 +0000
commit2f7b198c0bf4fd2518f310f5faed165808b96d15 (patch)
treedc5aeaacda4f5d8534e7a2c3d320894102fae104 /lib/Target/IA64/IA64ISelLowering.cpp
parentfe67863e270972822d09cfc7e600e112508e9fa0 (diff)
downloadexternal_llvm-2f7b198c0bf4fd2518f310f5faed165808b96d15.zip
external_llvm-2f7b198c0bf4fd2518f310f5faed165808b96d15.tar.gz
external_llvm-2f7b198c0bf4fd2518f310f5faed165808b96d15.tar.bz2
Set ISD::FPOW to Expand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/IA64/IA64ISelLowering.cpp')
-rw-r--r--lib/Target/IA64/IA64ISelLowering.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp
index 0bbda9a..82cbd9c 100644
--- a/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/lib/Target/IA64/IA64ISelLowering.cpp
@@ -73,13 +73,15 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
setOperationAction(ISD::UINT_TO_FP , MVT::i1 , Promote);
- // We don't support sin/cos/sqrt
+ // We don't support sin/cos/sqrt/pow
setOperationAction(ISD::FSIN , MVT::f64, Expand);
setOperationAction(ISD::FCOS , MVT::f64, Expand);
setOperationAction(ISD::FSQRT, MVT::f64, Expand);
+ setOperationAction(ISD::FPOW , MVT::f64, Expand);
setOperationAction(ISD::FSIN , MVT::f32, Expand);
setOperationAction(ISD::FCOS , MVT::f32, Expand);
setOperationAction(ISD::FSQRT, MVT::f32, Expand);
+ setOperationAction(ISD::FPOW , MVT::f32, Expand);
// FIXME: IA64 supports fcopysign natively!
setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand);