diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-12-19 01:39:40 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-12-19 01:39:40 +0000 |
| commit | 9be456300e96e3601262a7b211f111bd9a94c520 (patch) | |
| tree | a59c7e7a1aac3a36dbb54de9cb1d58ef3bc3b844 /llvm/lib | |
| parent | 136f465fa228f1fdca74869e66facea2c0ffd4ea (diff) | |
| download | bcm5719-llvm-9be456300e96e3601262a7b211f111bd9a94c520.tar.gz bcm5719-llvm-9be456300e96e3601262a7b211f111bd9a94c520.zip | |
mark some unsupported ops as unsupported
llvm-svn: 24852
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp b/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp index 2b4cf731353..069b542264f 100644 --- a/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp +++ b/llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp @@ -136,6 +136,17 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM) setOperationAction(ISD::MEMSET, MVT::Other, Expand); setOperationAction(ISD::MEMCPY, MVT::Other, Expand); + setOperationAction(ISD::FSIN , MVT::f64, Expand); + setOperationAction(ISD::FCOS , MVT::f64, Expand); + setOperationAction(ISD::FSIN , MVT::f32, Expand); + setOperationAction(ISD::FCOS , MVT::f32, Expand); + setOperationAction(ISD::CTPOP, MVT::i32, Expand); + setOperationAction(ISD::CTTZ , MVT::i32, Expand); + setOperationAction(ISD::CTLZ , MVT::i32, Expand); + + setOperationAction(ISD::SHL_PARTS, MVT::i32, Expand); + setOperationAction(ISD::SRA_PARTS, MVT::i32, Expand); + setOperationAction(ISD::SRL_PARTS, MVT::i32, Expand); computeRegisterProperties(); } |

