diff options
| author | Nate Begeman <natebegeman@mac.com> | 2007-11-17 03:58:34 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2007-11-17 03:58:34 +0000 |
| commit | b348d18caf834bc26a80e60aa7a2c9b1748734e8 (patch) | |
| tree | a2c805de94c3e8f5ffbbeae56cee332a2a5a5695 /lib/CodeGen/SelectionDAG | |
| parent | 247fdca789b10543848e110ab0860f99724b6788 (diff) | |
Add support for vectors to int <-> float casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d17fbea774..4ddcbf6bab 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -6365,7 +6365,11 @@ void SelectionDAGLegalize::SplitVectorOp(SDOperand Op, SDOperand &Lo, case ISD::FABS: case ISD::FSQRT: case ISD::FSIN: - case ISD::FCOS: { + case ISD::FCOS: + case ISD::FP_TO_SINT: + case ISD::FP_TO_UINT: + case ISD::SINT_TO_FP: + case ISD::UINT_TO_FP: { SDOperand L, H; SplitVectorOp(Node->getOperand(0), L, H); |
