diff options
author | Dan Gohman <gohman@apple.com> | 2007-10-11 23:21:31 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-10-11 23:21:31 +0000 |
commit | 482732af9d8e32ee5e2a29b264f31735603cb290 (patch) | |
tree | 4e847af0e3a11eeca8399bc9ecfb06a7990a8dfe /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | fd66486950253677c165af71e6ef1412d8964ec7 (diff) | |
download | bcm5719-llvm-482732af9d8e32ee5e2a29b264f31735603cb290.tar.gz bcm5719-llvm-482732af9d8e32ee5e2a29b264f31735603cb290.zip |
Set ISD::FPOW to Expand.
llvm-svn: 42881
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 0c43e6dccd2..a242c4d140c 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -240,7 +240,7 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::ConstantFP, MVT::f64, Expand); setOperationAction(ISD::ConstantFP, MVT::f32, Expand); - // We don't support sin/cos/fmod/copysign + // We don't support sin/cos/fmod/copysign/pow setOperationAction(ISD::FSIN , MVT::f64, Expand); setOperationAction(ISD::FSIN , MVT::f32, Expand); setOperationAction(ISD::FCOS , MVT::f32, Expand); @@ -249,6 +249,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::FREM , MVT::f32, Expand); setOperationAction(ISD::FCOPYSIGN, MVT::f64, Custom); setOperationAction(ISD::FCOPYSIGN, MVT::f32, Custom); + setOperationAction(ISD::FPOW , MVT::f64, Expand); + setOperationAction(ISD::FPOW , MVT::f32, Expand); // int <-> fp are custom expanded into bit_convert + ARMISD ops. setOperationAction(ISD::SINT_TO_FP, MVT::i32, Custom); |