diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-05 05:08:37 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-05 05:08:37 +0000 |
| commit | 9c7f50376a83b8cdb7fc2dccf6cebd122850feeb (patch) | |
| tree | 58e6514cac723dd17481634bb190eb669a8e624d /llvm/lib/Target/Sparc | |
| parent | 7373ddbe77ac69adc0d7f10a913c5ec7138c9f96 (diff) | |
| download | bcm5719-llvm-9c7f50376a83b8cdb7fc2dccf6cebd122850feeb.tar.gz bcm5719-llvm-9c7f50376a83b8cdb7fc2dccf6cebd122850feeb.zip | |
Copysign needs to be expanded everywhere. Note that Alpha and IA64 should
implement copysign as a native op if they have it.
llvm-svn: 26541
Diffstat (limited to 'llvm/lib/Target/Sparc')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp index e66e713cda1..812619e98a6 100644 --- a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -191,6 +191,8 @@ SparcTargetLowering::SparcTargetLowering(TargetMachine &TM) setOperationAction(ISD::ROTL , MVT::i32, Expand); setOperationAction(ISD::ROTR , MVT::i32, Expand); setOperationAction(ISD::BSWAP, MVT::i32, Expand); + setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand); + setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand); setOperationAction(ISD::SHL_PARTS, MVT::i32, Expand); setOperationAction(ISD::SRA_PARTS, MVT::i32, Expand); |

