Fix another miscompilation exposed by lencode, where we lowered i64->f32

conversions to __floatdidf instead of __floatdisf on targets that support
f32 but not i64 (e.g. sparc).

llvm-svn: 26254
This commit is contained in:
Chris Lattner 2006-02-17 04:32:33 +00:00
parent 67c21b6c46
commit 9ec392b2aa
1 changed files with 1 additions and 1 deletions

View File

@ -3132,7 +3132,7 @@ ExpandIntToFP(bool isSigned, MVT::ValueType DestTy, SDOperand Source) {
Source = DAG.getNode(ISD::SINT_TO_FP, DestTy, Source);
SDOperand UnusedHiPart;
return ExpandLibCall("__floatdidf", Source.Val, UnusedHiPart);
return ExpandLibCall(FnName, Source.Val, UnusedHiPart);
}
/// ExpandLegalINT_TO_FP - This function is responsible for legalizing a