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 | d4d45c268c407405aa3367eacd2412b43e144b87 (patch) | |
| tree | c919e61bead63fe51b739b55006ca4e9b74b8a45 /llvm/lib/CodeGen | |
| parent | b6c40f3f1b580fc85f1ffb38fff40acc383bb6df (diff) | |
| download | bcm5719-llvm-d4d45c268c407405aa3367eacd2412b43e144b87.tar.gz bcm5719-llvm-d4d45c268c407405aa3367eacd2412b43e144b87.zip | |
Add support for vectors to int <-> float casts.
llvm-svn: 44204
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d17fbea7743..4ddcbf6babf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/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); | 

