diff options
author | Dan Gohman <djg@cray.com> | 2007-10-11 23:21:31 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-10-11 23:21:31 +0000 |
commit | 2f7b198c0bf4fd2518f310f5faed165808b96d15 (patch) | |
tree | dc5aeaacda4f5d8534e7a2c3d320894102fae104 /lib/Target/Alpha/AlphaISelLowering.cpp | |
parent | fe67863e270972822d09cfc7e600e112508e9fa0 (diff) | |
download | external_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/Alpha/AlphaISelLowering.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelLowering.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 45a271d..a7626e6 100644 --- a/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/lib/Target/Alpha/AlphaISelLowering.cpp @@ -93,7 +93,7 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM) setOperationAction(ISD::MEMSET , MVT::Other, Expand); setOperationAction(ISD::MEMCPY , MVT::Other, Expand); - // 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::FSIN , MVT::f32, Expand); @@ -101,6 +101,9 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM) setOperationAction(ISD::FSQRT, MVT::f64, Expand); setOperationAction(ISD::FSQRT, MVT::f32, Expand); + + setOperationAction(ISD::FPOW , MVT::f32, Expand); + setOperationAction(ISD::FPOW , MVT::f64, Expand); setOperationAction(ISD::SETCC, MVT::f32, Promote); |