Fix unsigned->ppcf128 conversion.

llvm-svn: 58856
This commit is contained in:
Dale Johannesen 2008-11-07 19:11:43 +00:00
parent 56fa31bc87
commit 9016882d67
1 changed files with 3 additions and 0 deletions

View File

@ -950,10 +950,13 @@ void DAGTypeLegalizer::ExpandFloatRes_XINT_TO_FP(SDNode *N, SDValue &Lo,
assert(false && "Unsupported UINT_TO_FP!");
case MVT::i32:
Parts = TwoE32;
break;
case MVT::i64:
Parts = TwoE64;
break;
case MVT::i128:
Parts = TwoE128;
break;
}
Lo = DAG.getNode(ISD::FADD, VT, Hi,