commit | 78246cae8f37740879b3b099b388f0595106db6b | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Sat Nov 17 03:58:34 2007 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Sat Nov 17 03:58:34 2007 +0000 |
tree | a2c805de94c3e8f5ffbbeae56cee332a2a5a5695 | |
parent | 111a45a2a32784b55e14c9ceb2a37fd2f244d43c [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d17fbea..4ddcbf6 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -6365,7 +6365,11 @@ 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);